Main.cpp 447 B

123456789101112131415161718192021222324
  1. /*
  2. * 2D Game Engine
  3. * Main.cpp: App entry point
  4. * Based on pikuma.com 2D game engine in C++ and Lua course
  5. * Copyright (c) 2021 986-Studio. All Right Reserved
  6. *
  7. * Created by Manoël Trapier on 09/02/2021.
  8. */
  9. #include <Logger.h>
  10. #include <Game.h>
  11. int main(int argc, char *argv[])
  12. {
  13. Game game;
  14. Logger::Info("Booting up Game Engine version %s", VERSION);
  15. game.Initialize();
  16. game.Run();
  17. game.Destroy();
  18. return 0;
  19. }