#ifndef GAME_MWWORLD_ACTION_H #define GAME_MWWORLD_ACTION_H #include namespace MWWorld { class Ptr; /// \brief Abstract base for actions class Action { std::string mSoundId; bool onActor; // not implemented Action (const Action& action); Action& operator= (const Action& action); virtual void executeImp (const Ptr& actor) = 0; public: Action(); virtual ~Action(); void execute (const Ptr& actor); void setSound (const std::string& id, const bool onActor = false); }; } #endif