2012-04-15 15:52:39 +00:00
|
|
|
|
|
|
|
#ifndef GAME_MWWORLD_ACTIONOPEN_H
|
|
|
|
#define GAME_MWWORLD_ACTIONOPEN_H
|
|
|
|
|
|
|
|
#include "action.hpp"
|
|
|
|
#include "ptr.hpp"
|
|
|
|
|
|
|
|
|
|
|
|
namespace MWWorld
|
|
|
|
{
|
|
|
|
class ActionOpen : public Action
|
|
|
|
{
|
2013-02-17 14:56:22 +00:00
|
|
|
virtual void executeImp (const MWWorld::Ptr& actor);
|
2012-07-27 10:00:10 +00:00
|
|
|
|
2012-04-15 15:52:39 +00:00
|
|
|
public:
|
2013-03-07 13:00:13 +00:00
|
|
|
ActionOpen (const Ptr& container, bool loot=false);
|
|
|
|
///< \param container The Container the Player has activated.
|
|
|
|
/// \param loot If true, display the "dispose of corpse" button
|
|
|
|
|
|
|
|
private:
|
|
|
|
bool mLoot;
|
2012-04-15 15:52:39 +00:00
|
|
|
};
|
|
|
|
}
|
|
|
|
|
|
|
|
#endif // ACTIONOPEN_H
|