|
@@ -93,7 +93,7 @@
|
|
<return type="int" />
|
|
<return type="int" />
|
|
<param index="0" name="peering_bit" type="int" enum="TileSet.CellNeighbor" />
|
|
<param index="0" name="peering_bit" type="int" enum="TileSet.CellNeighbor" />
|
|
<description>
|
|
<description>
|
|
- Returns the tile's terrain bit for the given [param peering_bit] direction.
|
|
|
|
|
|
+ Returns the tile's terrain bit for the given [param peering_bit] direction. To check that a direction is valid, use [method is_valid_terrain_peering_bit].
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
<method name="is_collision_polygon_one_way" qualifiers="const">
|
|
<method name="is_collision_polygon_one_way" qualifiers="const">
|
|
@@ -104,6 +104,13 @@
|
|
Returns whether one-way collisions are enabled for the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
|
|
Returns whether one-way collisions are enabled for the polygon at index [param polygon_index] for TileSet physics layer with index [param layer_id].
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
|
|
+ <method name="is_valid_terrain_peering_bit" qualifiers="const">
|
|
|
|
+ <return type="bool" />
|
|
|
|
+ <param index="0" name="peering_bit" type="int" enum="TileSet.CellNeighbor" />
|
|
|
|
+ <description>
|
|
|
|
+ Returns whether the given [param peering_bit] direction is valid for this tile.
|
|
|
|
+ </description>
|
|
|
|
+ </method>
|
|
<method name="remove_collision_polygon">
|
|
<method name="remove_collision_polygon">
|
|
<return type="void" />
|
|
<return type="void" />
|
|
<param index="0" name="layer_id" type="int" />
|
|
<param index="0" name="layer_id" type="int" />
|
|
@@ -200,7 +207,7 @@
|
|
<param index="0" name="peering_bit" type="int" enum="TileSet.CellNeighbor" />
|
|
<param index="0" name="peering_bit" type="int" enum="TileSet.CellNeighbor" />
|
|
<param index="1" name="terrain" type="int" />
|
|
<param index="1" name="terrain" type="int" />
|
|
<description>
|
|
<description>
|
|
- Sets the tile's terrain bit for the given [param peering_bit] direction.
|
|
|
|
|
|
+ Sets the tile's terrain bit for the given [param peering_bit] direction. To check that a direction is valid, use [method is_valid_terrain_peering_bit].
|
|
</description>
|
|
</description>
|
|
</method>
|
|
</method>
|
|
</methods>
|
|
</methods>
|