SimpleAI
 All Classes Namespaces Files Functions Variables Typedefs Macros Groups Pages
Public Member Functions | List of all members
ai::movement::ISteering Class Referenceabstract

Steering interface. More...

#include <Steering.h>

Inheritance diagram for ai::movement::ISteering:
[legend]
Collaboration diagram for ai::movement::ISteering:
[legend]

Public Member Functions

virtual MoveVector execute (const AIPtr &ai, float speed) const =0
 Calculates the MoveVector. More...
 
- Public Member Functions inherited from ai::_MemObject< AllocatorClass >
void * operator new (size_t size)
 
void * operator new (size_t, void *ptr)
 
void * operator new[] (size_t size)
 
void operator delete (void *ptr)
 
void operator delete (void *ptr, void *)
 
void operator delete[] (void *ptr)
 

Detailed Description

Steering interface.

Member Function Documentation

virtual MoveVector ai::movement::ISteering::execute ( const AIPtr &  ai,
float  speed 
) const
pure virtual

Calculates the MoveVector.

Returns
If the MoveVector contains glm::vec3::VEC3_INFINITE as vector, the result should not be used because there was an error.

Implemented in ai::movement::LUASteering, ai::movement::GroupFlee, ai::movement::GroupSeek, ai::movement::TargetFlee, ai::movement::TargetSeek, ai::movement::Wander, ai::movement::SelectionFlee, and ai::movement::SelectionSeek.


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