|
18 | 18 | Ref<Self> add_child(const Variant v0) { return GFEntity::add_child(v0); } \ |
19 | 19 | Ref<Self> add_sibling(const Variant v0) { return GFEntity::add_sibling(v0); } \ |
20 | 20 | Ref<Self> add_componentv(const Variant v0, const Variant v1) { return GFEntity::add_componentv(v0, v1); } \ |
| 21 | + Ref<Self> clear() { return GFEntity::clear(); } \ |
21 | 22 | Ref<Self> set_componentv(const Variant v0, const Variant v1) { return GFEntity::set_componentv(v0, v1); } \ |
22 | 23 | Ref<Self> set_pairv(const Variant v0, const Variant v1, const Variant v2) { return GFEntity::set_pairv(v0, v1, v2); } \ |
23 | 24 | Ref<Self> add_pairv(const Variant v0, const Variant v1, const Variant v2) { return GFEntity::add_pairv(v0, v1, v2); } \ |
|
36 | 37 | godot::ClassDB::bind_method(D_METHOD("add_child", "entity"), &Self::add_child); \ |
37 | 38 | godot::ClassDB::bind_method(D_METHOD("add_sibling", "entity"), &Self::add_sibling); \ |
38 | 39 | godot::ClassDB::bind_method(D_METHOD("addv", "component", "members"), &Self::add_componentv, Array()); \ |
| 40 | + godot::ClassDB::bind_method(D_METHOD("clear"), &Self::clear); \ |
39 | 41 | godot::ClassDB::bind_method(D_METHOD("setv", "component", "members"), &Self::set_componentv); \ |
40 | 42 | godot::ClassDB::bind_method(D_METHOD("add_pairv", "first", "second", "members"), &Self::add_pairv, Array()); \ |
41 | 43 | godot::ClassDB::bind_method(D_METHOD("set_pairv", "first", "second", "members"), &Self::set_pairv); \ |
@@ -130,6 +132,7 @@ namespace godot { |
130 | 132 | Ref<GFEntity> set_name(const String); |
131 | 133 | Ref<GFEntity> set_parent(const Variant entity); |
132 | 134 |
|
| 135 | + Ref<GFEntity> clear(); |
133 | 136 | void delete_() const; |
134 | 137 |
|
135 | 138 | Ref<GFEntity> get_child(const String) const; |
|
0 commit comments