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

This commit is contained in:
Lukas Tenbrink committed 2025-05-15 18:53:44 +02:00
1 parent 7ef3bea224
commit 65ca91beec
6 files changed
+65 -1

No files matched your search

+20
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>