ProtoTank/ProtoTank.cpp
2024-10-11 17:54:27 +02:00

24 lines
490 B
C++

#include "Engine/Misc/Logger.hpp"
#include "Game.hpp"
int main(int argc, char** argv) {
SysTimer mSysTimer;
Logger& log = Logger::getInstance();
GAME_STATUS status = GAME_INIT;
log.PrintInfo(LOGGER_MSG_FT("Init game instance"));
Game& arcadeGame = Game::getInstance(true);
for ( ;; ) {
status = arcadeGame.Tick(mSysTimer);
if (status == GAME_QUIT)
break;
}
log.PrintInfo(LOGGER_MSG_FT("Bye bye!"));
return EXIT_SUCCESS;
}