OpenMW
|
#include <aicombat.hpp>
Public Member Functions | |
AiCombat (const std::string &targetId) | |
virtual AiCombat * | clone () 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 |
MWMechanics::AiCombat::AiCombat | ( | const std::string & | targetId | ) |
AiCombat * MWMechanics::AiCombat::clone | ( | ) | const [virtual] |
Implements MWMechanics::AiPackage.
bool MWMechanics::AiCombat::execute | ( | const MWWorld::Ptr & | actor, |
float | duration | ||
) | [virtual] |
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.
PathFinder MWMechanics::AiCombat::mPathFinder [private] |
std::string MWMechanics::AiCombat::mTargetId [private] |
float MWMechanics::AiCombat::mTimer [private] |
float MWMechanics::AiCombat::mTimer2 [private] |