Ejemplo n.º 1
0
 public void onPushScene(CCObject pSender)
 {
     CCScene scene = new SceneTestScene();
     CCLayer pLayer = new SceneTestLayer2();
     scene.addChild(pLayer, 0);
     CCDirector.sharedDirector().pushScene(scene);
 }
Ejemplo n.º 2
0
 public void onReplaceScene(CCObject pSender)
 {
     CCScene pScene = new SceneTestScene();
     CCLayer pLayer = new SceneTestLayer3();
     pScene.addChild(pLayer, 0);
     CCDirector.sharedDirector().replaceScene(pScene);
 }
Ejemplo n.º 3
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));
 }
Ejemplo n.º 4
0
        public void onReplaceScene(CCObject pSender)
        {
            CCScene pScene = new SceneTestScene();
            CCLayer pLayer = new SceneTestLayer3();

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

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