classref: Fixed return types in Area and Area2D (#4635)

This commit is contained in:
MattUV 2016-05-12 17:03:15 +02:00 committed by Rémi Verschelde
parent 48dc4d92a8
commit 91c85ff1f5
3 changed files with 6 additions and 6 deletions

View file

@ -4026,7 +4026,7 @@
</description> </description>
</method> </method>
<method name="overlaps_body" qualifiers="const"> <method name="overlaps_body" qualifiers="const">
<return type="PhysicsBody2D"> <return type="bool">
</return> </return>
<argument index="0" name="body" type="Object"> <argument index="0" name="body" type="Object">
</argument> </argument>
@ -4035,7 +4035,7 @@
</description> </description>
</method> </method>
<method name="overlaps_area" qualifiers="const"> <method name="overlaps_area" qualifiers="const">
<return type="Area2D"> <return type="bool">
</return> </return>
<argument index="0" name="area" type="Object"> <argument index="0" name="area" type="Object">
</argument> </argument>

View file

@ -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_bodies"),&Area2D::get_overlapping_bodies);
ObjectTypeDB::bind_method(_MD("get_overlapping_areas"),&Area2D::get_overlapping_areas); 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_body","body"),&Area2D::overlaps_body);
ObjectTypeDB::bind_method(_MD("overlaps_area:Area2D","area"),&Area2D::overlaps_area); ObjectTypeDB::bind_method(_MD("overlaps_area","area"),&Area2D::overlaps_area);
ObjectTypeDB::bind_method(_MD("_body_inout"),&Area2D::_body_inout); ObjectTypeDB::bind_method(_MD("_body_inout"),&Area2D::_body_inout);
ObjectTypeDB::bind_method(_MD("_area_inout"),&Area2D::_area_inout); ObjectTypeDB::bind_method(_MD("_area_inout"),&Area2D::_area_inout);

View file

@ -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_bodies"),&Area::get_overlapping_bodies);
ObjectTypeDB::bind_method(_MD("get_overlapping_areas"),&Area::get_overlapping_areas); 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_body","body"),&Area::overlaps_body);
ObjectTypeDB::bind_method(_MD("overlaps_area:Area","area"),&Area::overlaps_area); ObjectTypeDB::bind_method(_MD("overlaps_area","area"),&Area::overlaps_area);
ObjectTypeDB::bind_method(_MD("_body_inout"),&Area::_body_inout); ObjectTypeDB::bind_method(_MD("_body_inout"),&Area::_body_inout);
ObjectTypeDB::bind_method(_MD("_area_inout"),&Area::_area_inout); ObjectTypeDB::bind_method(_MD("_area_inout"),&Area::_area_inout);