示例#1
0
文件: main2.cpp 项目: doveiya/isilme
int main (int argc, char * const argv[])
{
	MyGame game;
	game.Init();
	game.Start();
	return 0;
}
示例#2
0
文件: main.cpp 项目: krej/SDL-Game
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;
}