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));
 }
Example #4
0
        public void onReplaceScene(CCObject pSender)
        {
            CCScene pScene = new SceneTestScene();
            CCLayer pLayer = new SceneTestLayer3();

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

            scene.addChild(pLayer, 0);
            CCDirector.sharedDirector().pushScene(scene);
        }
Example #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));
        }
Example #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));
        }