main.cpp
1 #include <iostream> 2 using namespace std; 3 #include "Game.h" 4 5 int main(void) 6 { 7 srand((unsigned int)time(NULL)); 8 Game game; 9 game.Init(); 10 11 while (true) 12 { 13 game.Update(); 14 } 15 16 return (0); 17 }
1 #include <iostream> 2 using namespace std; 3 #include "Game.h" 4 5 int main(void) 6 { 7 srand((unsigned int)time(NULL)); 8 Game game; 9 game.Init(); 10 11 while (true) 12 { 13 game.Update(); 14 } 15 16 return (0); 17 }