xoreos  0.0.5
Static Public Member Functions | Static Private Member Functions | List of all members
Engines::KotOR::ActionExecutor Class Reference

#include <actionexecutor.h>

Static Public Member Functions

static void executeActions (Creature &creature, Area &area, float dt)
 
static void executeMoveToPoint (Creature &creature, Area &area, const Action &action, float dt)
 
static void executeFollowLeader (Creature &creature, Area &area, const Action &action, float dt)
 

Static Private Member Functions

static bool moveTo (Creature &creature, Area &area, float x, float y, float range, float dt)
 Move the creature towards a point. More...
 

Detailed Description

Definition at line 36 of file actionexecutor.h.

Member Function Documentation

◆ executeActions()

void Engines::KotOR::ActionExecutor::executeActions ( Creature creature,
Area area,
float  dt 
)
static

◆ executeFollowLeader()

void Engines::KotOR::ActionExecutor::executeFollowLeader ( Creature creature,
Area area,
const Action action,
float  dt 
)
static

Definition at line 67 of file actionexecutor.cpp.

References Engines::KotOR::Area::_module, Engines::KotOR::Module::getPC(), Engines::KotOR::Object::getPosition(), and moveTo().

Referenced by executeActions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ executeMoveToPoint()

void Engines::KotOR::ActionExecutor::executeMoveToPoint ( Creature creature,
Area area,
const Action action,
float  dt 
)
static

Definition at line 59 of file actionexecutor.cpp.

References Engines::KotOR::Creature::dequeueAction(), Engines::KotOR::Action::getPoint(), Engines::KotOR::Action::getRange(), and moveTo().

Referenced by executeActions().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ moveTo()

bool Engines::KotOR::ActionExecutor::moveTo ( Creature creature,
Area area,
float  x,
float  y,
float  range,
float  dt 
)
staticprivate

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