OpenMW
Public Member Functions | Private Attributes
MWMechanics::AiEscort Class Reference

#include <aiescort.hpp>

List of all members.

Public Member Functions

 AiEscort (const std::string &actorId, int duration, float x, float y, float z)
 AiEscort
 AiEscort (const std::string &actorId, const std::string &cellId, int duration, float x, float y, float z)
 AiEscortCell
virtual AiEscortclone () const
virtual bool execute (const MWWorld::Ptr &actor, float duration)
virtual int getTypeId () const
 0: Wanter, 1 Travel, 2 Escort, 3 Follow, 4 Activate

Private Attributes

std::string mActorId
std::string mCellId
float mX
float mY
float mZ
float mMaxDist
unsigned int mStartingSecond
unsigned int mDuration
PathFinder mPathFinder
int cellX
int cellY

Constructor & Destructor Documentation

MWMechanics::AiEscort::AiEscort ( const std::string &  actorId,
int  duration,
float  x,
float  y,
float  z 
)
MWMechanics::AiEscort::AiEscort ( const std::string &  actorId,
const std::string &  cellId,
int  duration,
float  x,
float  y,
float  z 
)

AiEscortCell


Member Function Documentation

AiEscort * MWMechanics::AiEscort::clone ( ) const [virtual]
bool MWMechanics::AiEscort::execute ( const MWWorld::Ptr actor,
float  duration 
) [virtual]
Returns:
Package completed?

Implements MWMechanics::AiPackage.

int MWMechanics::AiEscort::getTypeId ( ) const [virtual]

0: Wanter, 1 Travel, 2 Escort, 3 Follow, 4 Activate

Implements MWMechanics::AiPackage.


Member Data Documentation

std::string MWMechanics::AiEscort::mActorId [private]
std::string MWMechanics::AiEscort::mCellId [private]
unsigned int MWMechanics::AiEscort::mDuration [private]
float MWMechanics::AiEscort::mX [private]
float MWMechanics::AiEscort::mY [private]
float MWMechanics::AiEscort::mZ [private]

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