mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-10 21:09:38 +01:00
Bind the enums in GSAIKinematicBody2DAgent and GSAIKinematicBody3DAgent.
This commit is contained in:
parent
013fe0b1a2
commit
8f380676a3
@ -219,4 +219,8 @@ void GSAIKinematicBody2DAgent::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_physics_process_disconnect"), &GSAIKinematicBody2DAgent::_physics_process_disconnect);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_on_SceneTree_physics_frame"), &GSAIKinematicBody2DAgent::_on_SceneTree_physics_frame);
|
||||
|
||||
BIND_ENUM_CONSTANT(SLIDE);
|
||||
BIND_ENUM_CONSTANT(COLLIDE);
|
||||
BIND_ENUM_CONSTANT(POSITION);
|
||||
}
|
||||
|
@ -46,4 +46,6 @@ protected:
|
||||
ObjectID _body_ref;
|
||||
};
|
||||
|
||||
VARIANT_ENUM_CAST(GSAIKinematicBody2DAgent::MovementType);
|
||||
|
||||
#endif
|
||||
|
@ -209,4 +209,8 @@ void GSAIKinematicBody3DAgent::_bind_methods() {
|
||||
ClassDB::bind_method(D_METHOD("_physics_process_disconnect"), &GSAIKinematicBody3DAgent::_physics_process_disconnect);
|
||||
|
||||
ClassDB::bind_method(D_METHOD("_on_SceneTree_physics_frame"), &GSAIKinematicBody3DAgent::_on_SceneTree_physics_frame);
|
||||
|
||||
BIND_ENUM_CONSTANT(SLIDE);
|
||||
BIND_ENUM_CONSTANT(COLLIDE);
|
||||
BIND_ENUM_CONSTANT(POSITION);
|
||||
}
|
||||
|
@ -46,4 +46,6 @@ protected:
|
||||
ObjectID _body_ref;
|
||||
};
|
||||
|
||||
VARIANT_ENUM_CAST(GSAIKinematicBody3DAgent::MovementType);
|
||||
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user