OpenMW
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
actionopen.hpp
Go to the documentation of this file.
1 #ifndef GAME_MWWORLD_ACTIONOPEN_H
2 #define GAME_MWWORLD_ACTIONOPEN_H
3 
4 #include "action.hpp"
5 #include "ptr.hpp"
6 
7 
8 namespace MWWorld
9 {
10  class ActionOpen : public Action
11  {
12  virtual void executeImp (const MWWorld::Ptr& actor);
13 
14  public:
15  ActionOpen (const Ptr& container, bool loot=false);
18 
19  private:
20  bool mLoot;
21  };
22 }
23 
24 #endif // ACTIONOPEN_H
Abstract base for actions.
Definition: action.hpp:11
virtual void executeImp(const MWWorld::Ptr &actor)
Definition: actionopen.cpp:19
bool mLoot
Definition: actionopen.hpp:20
ActionOpen(const Ptr &container, bool loot=false)
Definition: actionopen.cpp:13
Definition: actionopen.hpp:10
Pointer to a LiveCellRef.
Definition: ptr.hpp:19