OpenMW
|
#include <aicombataction.hpp>
Public Member Functions | |
ActionWeapon (const MWWorld::Ptr &weapon, const MWWorld::Ptr &ammo=MWWorld::Ptr()) | |
weapon may be empty for hand-to-hand combat More... | |
virtual void | prepare (const MWWorld::Ptr &actor) |
Equips the given weapon. More... | |
virtual float | getCombatRange (bool &isRanged) const |
virtual const ESM::Weapon * | getWeapon () const |
Public Member Functions inherited from MWMechanics::Action | |
virtual | ~Action () |
virtual float | getActionCooldown () |
virtual bool | isAttackingOrSpell () const |
virtual bool | isFleeing () const |
Private Attributes | |
MWWorld::Ptr | mAmmunition |
MWWorld::Ptr | mWeapon |
|
inline |
weapon may be empty for hand-to-hand combat
|
virtual |
|
virtual |
|
virtual |
|
private |
|
private |