classref: Fixed return types in Area and Area2D (#4635)
This commit is contained in:
parent
48dc4d92a8
commit
91c85ff1f5
|
@ -4026,7 +4026,7 @@
|
|||
</description>
|
||||
</method>
|
||||
<method name="overlaps_body" qualifiers="const">
|
||||
<return type="PhysicsBody2D">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="body" type="Object">
|
||||
</argument>
|
||||
|
@ -4035,7 +4035,7 @@
|
|||
</description>
|
||||
</method>
|
||||
<method name="overlaps_area" qualifiers="const">
|
||||
<return type="Area2D">
|
||||
<return type="bool">
|
||||
</return>
|
||||
<argument index="0" name="area" type="Object">
|
||||
</argument>
|
||||
|
|
|
@ -638,8 +638,8 @@ void Area2D::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_overlapping_bodies"),&Area2D::get_overlapping_bodies);
|
||||
ObjectTypeDB::bind_method(_MD("get_overlapping_areas"),&Area2D::get_overlapping_areas);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("overlaps_body:PhysicsBody2D","body"),&Area2D::overlaps_body);
|
||||
ObjectTypeDB::bind_method(_MD("overlaps_area:Area2D","area"),&Area2D::overlaps_area);
|
||||
ObjectTypeDB::bind_method(_MD("overlaps_body","body"),&Area2D::overlaps_body);
|
||||
ObjectTypeDB::bind_method(_MD("overlaps_area","area"),&Area2D::overlaps_area);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("_body_inout"),&Area2D::_body_inout);
|
||||
ObjectTypeDB::bind_method(_MD("_area_inout"),&Area2D::_area_inout);
|
||||
|
|
|
@ -628,8 +628,8 @@ void Area::_bind_methods() {
|
|||
ObjectTypeDB::bind_method(_MD("get_overlapping_bodies"),&Area::get_overlapping_bodies);
|
||||
ObjectTypeDB::bind_method(_MD("get_overlapping_areas"),&Area::get_overlapping_areas);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("overlaps_body:PhysicsBody","body"),&Area::overlaps_body);
|
||||
ObjectTypeDB::bind_method(_MD("overlaps_area:Area","area"),&Area::overlaps_area);
|
||||
ObjectTypeDB::bind_method(_MD("overlaps_body","body"),&Area::overlaps_body);
|
||||
ObjectTypeDB::bind_method(_MD("overlaps_area","area"),&Area::overlaps_area);
|
||||
|
||||
ObjectTypeDB::bind_method(_MD("_body_inout"),&Area::_body_inout);
|
||||
ObjectTypeDB::bind_method(_MD("_area_inout"),&Area::_area_inout);
|
||||
|
|
Loading…
Reference in New Issue