mirror of
https://github.com/TES3MP/openmw-tes3mp.git
synced 2025-01-16 01:49:54 +00:00
27 lines
485 B
C++
27 lines
485 B
C++
#ifndef GAME_MWWORLD_ACTION_H
|
|
#define GAME_MWWORLD_ACTION_H
|
|
|
|
namespace MWWorld
|
|
{
|
|
class Ptr;
|
|
|
|
/// \brief Abstract base for actions
|
|
class Action
|
|
{
|
|
// 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);
|
|
};
|
|
}
|
|
|
|
#endif
|