Fix typo in CollisionObject documentation

This commit is contained in:
Haoyu Qiu 2022-09-20 08:55:18 +08:00
parent cf157a804f
commit 4bc1ea0ac4
2 changed files with 8 additions and 8 deletions

View file

@ -72,8 +72,8 @@
<argument index="0" name="bit" type="int" />
<argument index="1" name="value" type="bool" />
<description>
If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the the [member collision_layer].
If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the the [member collision_layer].
If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the [member collision_layer].
If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the [member collision_layer].
</description>
</method>
<method name="set_collision_mask_bit">
@ -81,8 +81,8 @@
<argument index="0" name="bit" type="int" />
<argument index="1" name="value" type="bool" />
<description>
If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the the [member collision_mask].
If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the the [member collision_mask].
If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the [member collision_mask].
If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the [member collision_mask].
</description>
</method>
<method name="shape_find_owner" qualifiers="const">

View file

@ -85,8 +85,8 @@
<argument index="0" name="bit" type="int" />
<argument index="1" name="value" type="bool" />
<description>
If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the the [member collision_layer].
If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the the [member collision_layer].
If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the [member collision_layer].
If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the [member collision_layer].
</description>
</method>
<method name="set_collision_mask_bit">
@ -94,8 +94,8 @@
<argument index="0" name="bit" type="int" />
<argument index="1" name="value" type="bool" />
<description>
If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the the [member collision_mask].
If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the the [member collision_mask].
If [code]value[/code] is [code]true[/code], sets the specified [code]bit[/code] in the [member collision_mask].
If [code]value[/code] is [code]false[/code], clears the specified [code]bit[/code] in the [member collision_mask].
</description>
</method>
<method name="shape_find_owner" qualifiers="const">