1
0
mirror of https://gitlab.com/OpenMW/openmw.git synced 2025-01-10 15:39:02 +00:00
OpenMW/apps/openmw/mwworld/action.hpp
2012-07-27 12:19:25 +02:00

34 lines
591 B
C++

#ifndef GAME_MWWORLD_ACTION_H
#define GAME_MWWORLD_ACTION_H
#include <string>
namespace MWWorld
{
class Ptr;
/// \brief Abstract base for actions
class Action
{
std::string mSoundId;
// 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);
};
}
#endif