openmw-tes3coop/apps/openmw/mwworld/nullaction.hpp

17 lines
322 B
C++

#ifndef GAME_MWWORLD_NULLACTION_H
#define GAME_MWWORLD_NULLACTION_H
#include "action.hpp"
namespace MWWorld
{
/// \brief Action: do nothing
class NullAction : public Action
{
virtual void executeImp (const Ptr& actor) {}
virtual bool isNullAction() { return true; }
};
}
#endif