OdinAI
|
#include <Goals.h>
Public Member Functions | |
void | AddGoal (BaseGoal *goal) |
virtual void | Activate () |
virtual int | Process () |
virtual void | End () |
![]() | |
bool | IsActive () const |
void | ActivateIfInactive () |
bool | IsComplete () const |
bool | HasFailed () const |
int | GetStatus () const |
Additional Inherited Members | |
![]() | |
int | m_status |
The status of the goal. | |
Atomic goal consist of one goal, which can be processed.
|
inlinevirtual |
Function called before a goal is processed.
Reimplemented from OdinAI::BaseGoal.
|
virtual |
This function is not implemented an will cause an assertion.
Reimplemented from OdinAI::BaseGoal.
|
inlinevirtual |
Function used to clean up an goal.
Reimplemented from OdinAI::BaseGoal.
|
inlinevirtual |
Function used to process an goal.
Reimplemented from OdinAI::BaseGoal.