fysxasteroids/engine/EngineCommands.cc

16 lines
236 B
C++

#include "Engine.h"
namespace Engine {
bool Cmd_EngineQuit (std::vector<std::string> args) {
EngineSetStatus (EngineStatusStopping);
return true;
}
void Engine::OnRegisterCommands () {
AddCommand ("quit", Cmd_EngineQuit);
}
}