Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "SDL.h"
- #include "game.h"
- #undef main
- Game *Game = nullptr;
- int main(int argc, char *argv[]){
- Game = new Game();
- Game->init("Syndicates Engine",SDL_WINDOWPOS_CENTERED, SDL_WINDOWPOS_CENTERED,1280,720,false)
- while (game->running()) {
- Game->handleEvents
- Game->update();
- Game->render();
- }
- return 0;
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement