fysxasteroids/engine/EngineCommands.cc

16 lines
236 B
C++
Raw Normal View History

2010-04-05 23:38:59 +02:00
#include "Engine.h"
namespace Engine {
bool Cmd_EngineQuit (std::vector<std::string> args) {
EngineSetStatus (EngineStatusStopping);
return true;
}
void Engine::OnRegisterCommands () {
AddCommand ("quit", Cmd_EngineQuit);
}
}