mirror of
https://gitlab.com/OpenMW/openmw.git
synced 2025-01-10 06:39:49 +00:00
26 lines
456 B
C++
26 lines
456 B
C++
|
#ifndef GAME_MWWORLD_ACTION_H
|
||
|
#define GAME_MWWORLD_ACTION_H
|
||
|
|
||
|
namespace MWWorld
|
||
|
{
|
||
|
class Environment;
|
||
|
|
||
|
/// \brief Abstract base for actions
|
||
|
class Action
|
||
|
{
|
||
|
// not implemented
|
||
|
Action (const Action& action);
|
||
|
Action& operator= (const Action& action);
|
||
|
|
||
|
public:
|
||
|
|
||
|
Action() {}
|
||
|
|
||
|
virtual ~Action() {}
|
||
|
|
||
|
virtual void execute (Environment& environment) = 0;
|
||
|
};
|
||
|
}
|
||
|
|
||
|
#endif
|