Created Capter2 for Test with componentbased objects
This commit is contained in:
20
Capter2/main.cpp
Normal file
20
Capter2/main.cpp
Normal file
@@ -0,0 +1,20 @@
|
||||
#include <iostream>
|
||||
#include "game.hpp"
|
||||
|
||||
|
||||
int main(int argc, char const *argv[])
|
||||
{
|
||||
game game;
|
||||
|
||||
bool success = game.Init(100,100,1024,768);
|
||||
|
||||
while (success)
|
||||
{
|
||||
game.RunLoop();
|
||||
}
|
||||
|
||||
game.Shutdown();
|
||||
|
||||
|
||||
return 0;
|
||||
}
|
||||
Reference in New Issue
Block a user