Main.cpp 557 B

123456789101112131415161718192021222324
  1. // ----------------------------------------------------------------
  2. // From Game Programming in C++ by Sanjay Madhav
  3. // Copyright (C) 2017 Sanjay Madhav. All rights reserved.
  4. //
  5. // Released under the BSD License
  6. // See LICENSE in root directory for full details.
  7. // ----------------------------------------------------------------
  8. #include "Game.h"
  9. #include <vector>
  10. #include <queue>
  11. #include <iostream>
  12. int main(int argc, char** argv)
  13. {
  14. Game game;
  15. bool success = game.Initialize();
  16. if (success)
  17. {
  18. game.RunLoop();
  19. }
  20. game.Shutdown();
  21. return 0;
  22. }