OdinAI

- Main Page
- Namespaces
- Classes
- Files
- Examples

- Class List
- Class Index
- Class Hierarchy
- Class Members

All Classes Namespaces Functions Variables
Public Member Functions | List of all members
OdinAI::AtomicGoal Class Reference

`#include <Goals.h>`

Inheritance diagram for OdinAI::AtomicGoal:

## 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 | ( |  | ) |
| inline virtual

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 | ( |  | ) |
| inline virtual

Function used to clean up an goal.

Reimplemented from OdinAI::BaseGoal.

virtual int OdinAI::AtomicGoal::Process | ( |  | ) |
| inline virtual

Function used to process an goal.

Reimplemented from OdinAI::BaseGoal.

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

- E:/Development/Projects/OdinAI/Include/OdinAI/Goals.h