public void onPushScene(CCObject pSender)
 {
     CCScene scene = new SceneTestScene();
     CCLayer pLayer = new SceneTestLayer2();
     scene.addChild(pLayer, 0);
     CCDirector.sharedDirector().pushScene(scene);
 }
 public void onReplaceScene(CCObject pSender)
 {
     CCScene pScene = new SceneTestScene();
     CCLayer pLayer = new SceneTestLayer3();
     pScene.addChild(pLayer, 0);
     CCDirector.sharedDirector().replaceScene(pScene);
 }
 public void onReplaceSceneTran(CCObject pSender)
 {
     CCScene pScene = new SceneTestScene();
     CCLayer pLayer = new SceneTestLayer3();
     pScene.addChild(pLayer, 0);
     CCDirector.sharedDirector().replaceScene(pScene);
     //(CCTransitionFlipX.transitionWithDuration(2, pScene));
 }
Beispiel #4
0
        public void onReplaceScene(CCObject pSender)
        {
            CCScene pScene = new SceneTestScene();
            CCLayer pLayer = new SceneTestLayer3();

            pScene.addChild(pLayer, 0);
            CCDirector.sharedDirector().replaceScene(pScene);
        }
Beispiel #5
0
        public void onPushScene(CCObject pSender)
        {
            CCScene scene  = new SceneTestScene();
            CCLayer pLayer = new SceneTestLayer2();

            scene.addChild(pLayer, 0);
            CCDirector.sharedDirector().pushScene(scene);
        }
Beispiel #6
0
        public void onReplaceSceneTran(CCObject pSender)
        {
            CCScene pScene = new SceneTestScene();
            CCLayer pLayer = new SceneTestLayer3();

            pScene.addChild(pLayer, 0);
            CCDirector.sharedDirector().replaceScene(pScene);
            //(CCTransitionFlipX.transitionWithDuration(2, pScene));
        }
        public void onPushSceneTran(CCObject pSender)
        {
            CCScene scene = new SceneTestScene();
            CCLayer pLayer = new SceneTestLayer2();
            scene.addChild(pLayer, 0);

            CCDirector.sharedDirector().pushScene(scene);
            //(CCTransitionSlideInT.transitionWithDuration(1f, scene));
        }
Beispiel #8
0
        public void onPushSceneTran(CCObject pSender)
        {
            CCScene scene  = new SceneTestScene();
            CCLayer pLayer = new SceneTestLayer2();

            scene.addChild(pLayer, 0);

            CCDirector.sharedDirector().pushScene(scene);
            //(CCTransitionSlideInT.transitionWithDuration(1f, scene));
        }