summaryrefslogtreecommitdiff
path: root/doc/classes/TileSet.xml
diff options
context:
space:
mode:
Diffstat (limited to 'doc/classes/TileSet.xml')
-rw-r--r--doc/classes/TileSet.xml66
1 files changed, 65 insertions, 1 deletions
diff --git a/doc/classes/TileSet.xml b/doc/classes/TileSet.xml
index a1063567f8..3dbf172c5a 100644
--- a/doc/classes/TileSet.xml
+++ b/doc/classes/TileSet.xml
@@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8" ?>
-<class name="TileSet" inherits="Resource" category="Core" version="3.0-alpha">
+<class name="TileSet" inherits="Resource" category="Core" version="3.0-beta">
<brief_description>
Tile library for tilemaps.
</brief_description>
@@ -12,6 +12,48 @@
<demos>
</demos>
<methods>
+ <method name="_forward_subtile_selection" qualifiers="virtual">
+ <return type="Vector2">
+ </return>
+ <argument index="0" name="autotile_id" type="int">
+ </argument>
+ <argument index="1" name="bitmask" type="int">
+ </argument>
+ <argument index="2" name="tilemap" type="Object">
+ </argument>
+ <argument index="3" name="tile_location" type="Vector2">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="_is_tile_bound" qualifiers="virtual">
+ <return type="bool">
+ </return>
+ <argument index="0" name="drawn_id" type="int">
+ </argument>
+ <argument index="1" name="neighbor_id" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="autotile_get_bitmask_mode" qualifiers="const">
+ <return type="int" enum="TileSet.BitmaskMode">
+ </return>
+ <argument index="0" name="arg0" type="int">
+ </argument>
+ <description>
+ </description>
+ </method>
+ <method name="autotile_set_bitmask_mode">
+ <return type="void">
+ </return>
+ <argument index="0" name="mode" type="int">
+ </argument>
+ <argument index="1" name="arg1" type="int" enum="TileSet.BitmaskMode">
+ </argument>
+ <description>
+ </description>
+ </method>
<method name="clear">
<return type="void">
</return>
@@ -71,6 +113,8 @@
</argument>
<argument index="3" name="one_way" type="bool" default="false">
</argument>
+ <argument index="4" name="autotile_coord" type="Vector2" default="Vector2( 0, 0 )">
+ </argument>
<description>
</description>
</method>
@@ -368,5 +412,25 @@
</method>
</methods>
<constants>
+ <constant name="BITMASK_2X2" value="0" enum="BitmaskMode">
+ </constant>
+ <constant name="BITMASK_3X3" value="1" enum="BitmaskMode">
+ </constant>
+ <constant name="BIND_TOPLEFT" value="1" enum="AutotileBindings">
+ </constant>
+ <constant name="BIND_TOP" value="2" enum="AutotileBindings">
+ </constant>
+ <constant name="BIND_TOPRIGHT" value="4" enum="AutotileBindings">
+ </constant>
+ <constant name="BIND_LEFT" value="8" enum="AutotileBindings">
+ </constant>
+ <constant name="BIND_RIGHT" value="32" enum="AutotileBindings">
+ </constant>
+ <constant name="BIND_BOTTOMLEFT" value="64" enum="AutotileBindings">
+ </constant>
+ <constant name="BIND_BOTTOM" value="128" enum="AutotileBindings">
+ </constant>
+ <constant name="BIND_BOTTOMRIGHT" value="256" enum="AutotileBindings">
+ </constant>
</constants>
</class>