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

#include <aicombat.hpp>

List of all members.

Public Member Functions

 AiCombat (const std::string &targetId)
virtual AiCombatclone () const
virtual bool execute (const MWWorld::Ptr &actor, float duration)
virtual int getTypeId () const
 0: Wanter, 1 Travel, 2 Escort, 3 Follow, 4 Activate
virtual unsigned int getPriority () const
 higher number is higher priority (0 beeing the lowest)

Private Attributes

std::string mTargetId
PathFinder mPathFinder
PathFinder mPathFinder2
float mTimer
float mTimer2

Constructor & Destructor Documentation

MWMechanics::AiCombat::AiCombat ( const std::string &  targetId)

Member Function Documentation

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

Implements MWMechanics::AiPackage.

unsigned int MWMechanics::AiCombat::getPriority ( ) const [virtual]

higher number is higher priority (0 beeing the lowest)

Reimplemented from MWMechanics::AiPackage.

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

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

Implements MWMechanics::AiPackage.


Member Data Documentation

std::string MWMechanics::AiCombat::mTargetId [private]

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