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

#include <aicombataction.hpp>

Inheritance diagram for MWMechanics::ActionSpell:
Collaboration diagram for MWMechanics::ActionSpell:

Public Member Functions

 ActionSpell (const std::string &spellId)
 
virtual void prepare (const MWWorld::Ptr &actor)
 Sets the given spell as selected on the actor's spell list. More...
 
virtual float getCombatRange (bool &isRanged) const
 
- Public Member Functions inherited from MWMechanics::Action
virtual ~Action ()
 
virtual float getActionCooldown ()
 
virtual const ESM::WeapongetWeapon () const
 
virtual bool isAttackingOrSpell () const
 
virtual bool isFleeing () const
 

Public Attributes

std::string mSpellId
 

Constructor & Destructor Documentation

MWMechanics::ActionSpell::ActionSpell ( const std::string &  spellId)
inline

Member Function Documentation

float MWMechanics::ActionSpell::getCombatRange ( bool isRanged) const
virtual

Implements MWMechanics::Action.

Here is the call graph for this function:

void MWMechanics::ActionSpell::prepare ( const MWWorld::Ptr actor)
virtual

Sets the given spell as selected on the actor's spell list.

Implements MWMechanics::Action.

Here is the call graph for this function:

Member Data Documentation

std::string MWMechanics::ActionSpell::mSpellId

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