diff options
Diffstat (limited to 'Minecraft.World/DefaultGameModeCommand.h')
| -rw-r--r-- | Minecraft.World/DefaultGameModeCommand.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/Minecraft.World/DefaultGameModeCommand.h b/Minecraft.World/DefaultGameModeCommand.h new file mode 100644 index 00000000..99d45a43 --- /dev/null +++ b/Minecraft.World/DefaultGameModeCommand.h @@ -0,0 +1,15 @@ +#pragma once + +#include "GameModeCommand.h" + +class GameType; + +class DefaultGameModeCommand : public GameModeCommand +{ +public: + virtual EGameCommand getId(); + virtual void execute(shared_ptr<CommandSender> source, byteArray commandData); + +protected: + void doSetGameType(GameType *newGameType); +};
\ No newline at end of file |
