mirror of
https://github.com/godotengine/godot-cpp-template.git
synced 2025-12-31 21:48:10 +03:00
Add an example class and some demo code to the project.
This commit is contained in:
20
doc_classes/ExampleClass.xml
Normal file
20
doc_classes/ExampleClass.xml
Normal file
@@ -0,0 +1,20 @@
|
||||
<?xml version="1.0" encoding="UTF-8" ?>
|
||||
<class name="ExampleClass" inherits="RefCounted" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="https://raw.githubusercontent.com/godotengine/godot/master/doc/class.xsd">
|
||||
<brief_description>
|
||||
Example class.
|
||||
</brief_description>
|
||||
<description>
|
||||
An example class.
|
||||
</description>
|
||||
<tutorials>
|
||||
</tutorials>
|
||||
<methods>
|
||||
<method name="print_type" qualifiers="const">
|
||||
<return type="void" />
|
||||
<param index="0" name="variant" type="Variant" />
|
||||
<description>
|
||||
Print the type of the variant.
|
||||
</description>
|
||||
</method>
|
||||
</methods>
|
||||
</class>
|
||||
Reference in New Issue
Block a user