Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "SDL.h"
- #include "SDL_ttf.h"
- #include "SDL_image.h"
- #include "Game.h"
- #include <iostream>
- #include <stdio.h>
- #include <cstdio>
- using namespace std;
- int main(int argc, char* args[]) {
- Game* g = new Game();
- g->render();
- while (g->isRunning() == true) {
- g->handleEvents();
- g->update();
- }
- g->clean();
- return 0;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement