Add an example class and some demo code to the project.

This commit is contained in:
Lukas Tenbrink
2025-04-14 18:55:50 +02:00
parent 7ef3bea224
commit 65ca91beec
6 changed files with 65 additions and 1 deletions

View 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>