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::ActionEnchantedItem Class Reference

#include <aicombataction.hpp>

Inheritance diagram for MWMechanics::ActionEnchantedItem:
Collaboration diagram for MWMechanics::ActionEnchantedItem:

Public Member Functions

 ActionEnchantedItem (const MWWorld::ContainerStoreIterator &item)
 
virtual void prepare (const MWWorld::Ptr &actor)
 Sets the given item as selected enchanted item in the actor's InventoryStore. More...
 
virtual float getCombatRange (bool &isRanged) const
 
virtual float getActionCooldown ()
 Since this action has no animation, apply a small cool down for using it. More...
 
- Public Member Functions inherited from MWMechanics::Action
virtual ~Action ()
 
virtual const ESM::WeapongetWeapon () const
 
virtual bool isAttackingOrSpell () const
 
virtual bool isFleeing () const
 

Public Attributes

MWWorld::ContainerStoreIterator mItem
 

Constructor & Destructor Documentation

MWMechanics::ActionEnchantedItem::ActionEnchantedItem ( const MWWorld::ContainerStoreIterator item)
inline

Member Function Documentation

virtual float MWMechanics::ActionEnchantedItem::getActionCooldown ( )
inlinevirtual

Since this action has no animation, apply a small cool down for using it.

Reimplemented from MWMechanics::Action.

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

Implements MWMechanics::Action.

Here is the call graph for this function:

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

Sets the given item as selected enchanted item in the actor's InventoryStore.

Implements MWMechanics::Action.

Here is the call graph for this function:

Member Data Documentation

MWWorld::ContainerStoreIterator MWMechanics::ActionEnchantedItem::mItem

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