예제 #1
0
SkyLayer::SkyLayer()
{
	bool bRet = false;

	do
	{
		CC_BREAK_IF(! SkyLayer::init());

		initSky();

		bRet = true;
	} while(0);

	//return bRet;
}
예제 #2
0
void PTGScene::init()
{
	for (int i = 0; i < 255; i++)
		keys[i] = false;
	mb.lb = 0;
	mb.rb = 0;

	pEng->init();
	initCams();
	initMaterias();
	initTerrain();
	initSky();
	initTrees();
	initBots();
	
	INITBATMOBILE(); //!!!!!!!!!!! OLOLOL
	
	pPlayer = new PTGPlayer(this);

	dt = timeGetTime();
	tt = dt;

}