OdinAI
 All Classes Namespaces Functions Variables
OdinAI::AtomicGoal Class Reference

#include <Goals.h>

Inheritance diagram for OdinAI::AtomicGoal:
OdinAI::BaseGoal

Public Member Functions

void AddGoal (BaseGoal *goal)
 
virtual void Activate ()
 
virtual int Process ()
 
virtual void End ()
 
- Public Member Functions inherited from OdinAI::BaseGoal
bool IsActive () const
 
void ActivateIfInactive ()
 
bool IsComplete () const
 
bool HasFailed () const
 
int GetStatus () const
 

Additional Inherited Members

- Protected Attributes inherited from OdinAI::BaseGoal
int m_status
 The status of the goal.
 

Detailed Description

Atomic goal consist of one goal, which can be processed.

Member Function Documentation

virtual void OdinAI::AtomicGoal::Activate ( )
inlinevirtual

Function called before a goal is processed.

Reimplemented from OdinAI::BaseGoal.

void OdinAI::AtomicGoal::AddGoal ( BaseGoal goal)
virtual

This function is not implemented an will cause an assertion.

Reimplemented from OdinAI::BaseGoal.

virtual void OdinAI::AtomicGoal::End ( )
inlinevirtual

Function used to clean up an goal.

Reimplemented from OdinAI::BaseGoal.

virtual int OdinAI::AtomicGoal::Process ( )
inlinevirtual

Function used to process an goal.

Reimplemented from OdinAI::BaseGoal.


The documentation for this class was generated from the following file: