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

#include <aifollow.hpp>

List of all members.

Public Member Functions

 AiFollow (const std::string &ActorId, float duration, float X, float Y, float Z)
 AiFollow (const std::string &ActorId, const std::string &CellId, float duration, float X, float Y, float Z)
virtual AiFollowclone () 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

float mDuration
float mX
float mY
float mZ
std::string mActorId
std::string mCellId

Constructor & Destructor Documentation

MWMechanics::AiFollow::AiFollow ( const std::string &  ActorId,
float  duration,
float  X,
float  Y,
float  Z 
)
MWMechanics::AiFollow::AiFollow ( const std::string &  ActorId,
const std::string &  CellId,
float  duration,
float  X,
float  Y,
float  Z 
)

Member Function Documentation

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

Implements MWMechanics::AiPackage.

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

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

Implements MWMechanics::AiPackage.


Member Data Documentation

std::string MWMechanics::AiFollow::mActorId [private]
std::string MWMechanics::AiFollow::mCellId [private]
float MWMechanics::AiFollow::mX [private]
float MWMechanics::AiFollow::mY [private]
float MWMechanics::AiFollow::mZ [private]

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