mirror of
https://github.com/Relintai/pandemonium_engine.git
synced 2025-01-11 13:21:10 +01:00
Make virtuals actually virtuals.
This commit is contained in:
parent
36477a1a73
commit
65aa1c4084
@ -21,7 +21,7 @@ public:
|
||||
Ref<FuncRef> get_callback();
|
||||
void set_callback(const Ref<FuncRef> &val);
|
||||
|
||||
bool _report_neighbor(const Ref<GSAISteeringAgent> &neighbor);
|
||||
virtual bool _report_neighbor(const Ref<GSAISteeringAgent> &neighbor);
|
||||
|
||||
GSAIGroupBehavior();
|
||||
~GSAIGroupBehavior();
|
||||
|
@ -29,7 +29,7 @@ public:
|
||||
// The `calculate_steering` function is the entry point for all behaviors.
|
||||
// Sets the `acceleration` with the behavior's desired amount of acceleration.
|
||||
void calculate_steering(Ref<GSAITargetAcceleration> acceleration);
|
||||
void _calculate_steering(Ref<GSAITargetAcceleration> acceleration);
|
||||
virtual void _calculate_steering(Ref<GSAITargetAcceleration> acceleration);
|
||||
|
||||
GSAISteeringBehavior();
|
||||
~GSAISteeringBehavior();
|
||||
|
@ -23,7 +23,7 @@ public:
|
||||
void set_agents_arr(const Array &arr);
|
||||
|
||||
int find_neighbors(const Ref<FuncRef> &callback);
|
||||
int _find_neighbors(Ref<FuncRef> callback);
|
||||
virtual int _find_neighbors(Ref<FuncRef> callback);
|
||||
|
||||
GSAIProximity();
|
||||
~GSAIProximity();
|
||||
|
Loading…
Reference in New Issue
Block a user