OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Public Member Functions | List of all members
MWMechanics::Action Class Referenceabstract

#include <aicombataction.hpp>

Inheritance diagram for MWMechanics::Action:
Collaboration diagram for MWMechanics::Action:

Public Member Functions

virtual ~Action ()
 
virtual void prepare (const MWWorld::Ptr &actor)=0
 
virtual float getCombatRange (bool &isRanged) const =0
 
virtual float getActionCooldown ()
 
virtual const ESM::WeapongetWeapon () const
 
virtual bool isAttackingOrSpell () const
 
virtual bool isFleeing () const
 

Constructor & Destructor Documentation

virtual MWMechanics::Action::~Action ( )
inlinevirtual

Member Function Documentation

virtual float MWMechanics::Action::getActionCooldown ( )
inlinevirtual
virtual float MWMechanics::Action::getCombatRange ( bool isRanged) const
pure virtual
virtual const ESM::Weapon* MWMechanics::Action::getWeapon ( ) const
inlinevirtual

Reimplemented in MWMechanics::ActionWeapon.

virtual bool MWMechanics::Action::isAttackingOrSpell ( ) const
inlinevirtual
virtual bool MWMechanics::Action::isFleeing ( ) const
inlinevirtual

Reimplemented in MWMechanics::ActionFlee.

virtual void MWMechanics::Action::prepare ( const MWWorld::Ptr actor)
pure virtual

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