Exemple #1
0
int main (int argc, char * const argv[])
{
	MyGame game;
	game.Init();
	game.Start();
	return 0;
}
Exemple #2
0
int main(int argc, char* argv[]) {
    MyGame myGame;

    myGame.SetTitle("Loading...");
    myGame.Init();

    myGame.SetTitle("SDL_Testing!");
    myGame.Start();

    myGame.SetTitle("Quiting...");

    return EXIT_SUCCESS;
}