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

#include <actiontrap.hpp>

Inheritance diagram for MWWorld::ActionTrap:
Collaboration diagram for MWWorld::ActionTrap:

Public Member Functions

 ActionTrap (const std::string &spellId, const Ptr &trapSource)
 
- Public Member Functions inherited from MWWorld::Action
const PtrgetTarget () const
 
 Action (bool keepSound=false, const Ptr &target=Ptr())
 
virtual ~Action ()
 
virtual bool isNullAction ()
 Is running this action a no-op? (default false) More...
 
void execute (const Ptr &actor)
 
void setSound (const std::string &id)
 
void setSoundOffset (float offset)
 

Private Member Functions

virtual void executeImp (const Ptr &actor)
 

Private Attributes

std::string mSpellId
 
MWWorld::Ptr mTrapSource
 

Additional Inherited Members

- Protected Member Functions inherited from MWWorld::Action
void setTarget (const Ptr &)
 

Constructor & Destructor Documentation

MWWorld::ActionTrap::ActionTrap ( const std::string &  spellId,
const Ptr trapSource 
)
inline
Parameters
spellId
trapSource

Member Function Documentation

void MWWorld::ActionTrap::executeImp ( const Ptr actor)
privatevirtual

Implements MWWorld::Action.

Here is the call graph for this function:

Member Data Documentation

std::string MWWorld::ActionTrap::mSpellId
private
MWWorld::Ptr MWWorld::ActionTrap::mTrapSource
private

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