Пример #1
0
int _tmain(int argc, _TCHAR* argv[])
{
	CGameManager gameManager;

	gameManager.Init();
	gameManager.Run();
	gameManager.Release();

	getchar();
	return 0;
}
Пример #2
0
int _tmain(int argc, _TCHAR* argv[])
{
	argc;
	argv;

	CGameManager gameManeger;

	gameManeger.Init();
	gameManeger.Run();
	gameManeger.Release();

	system("pause");

	return 0;
}
Пример #3
0
int main()
{
    srand((unsigned int)time(NULL));

	CGameManager *GameMng = new CGameManager();

	sf::RenderWindow App(sf::VideoMode(800,600,32), "PycMan", sf::Style::Close);
	App.setVerticalSyncEnabled(true);


	GameMng->Run(App);


	App.clear();
	App.close();

	delete GameMng;

	return 0;
}
Пример #4
0
int _tmain(int argc, _TCHAR* argv[])
{

	_CrtSetDbgFlag(_CRTDBG_ALLOC_MEM_DF | _CRTDBG_LEAK_CHECK_DF);


	argc;
	argv;


	std::string helloWorld = "Hello World";
	std::cout<<helloWorld << std::endl;

	CGameManager gameManager;

	gameManager.Init();
	gameManager.Run();
	gameManager.Release();


	//getchar();
	return 0;
}