Ejemplo n.º 1
0
        public override void runThisTest()
        {
            CCLayer pLayer1 = new MenuLayer1();
            CCLayer pLayer2 = new MenuLayer2();
            CCLayer pLayer3 = new MenuLayer3();
            CCLayer pLayer4 = new MenuLayer4();
            CCLayer pLayer5 = new MenuLayerPriorityTest();

            CCLayerMultiplex layer = CCLayerMultiplex.Create(pLayer1, pLayer2, pLayer3, pLayer4, pLayer5);
            AddChild(layer, 0);

            CCDirector.SharedDirector.ReplaceScene(this);
        }
Ejemplo n.º 2
0
        public override void runThisTest()
        {
            var pLayer1 = new MenuLayer1();
            var pLayer2 = new MenuLayer2();
            var pLayer3 = new MenuLayer3();
            var pLayer4 = new MenuLayer4();
            var pLayer5 = new MenuLayerPriorityTest();

            var layer = new CCLayerMultiplex(pLayer1, pLayer2, pLayer3, pLayer4, pLayer5);
            AddChild(layer, 0);

            Director.ReplaceScene(this);
        }
Ejemplo n.º 3
0
        public override void runThisTest()
        {
            var pLayer1 = new MenuLayer1();
            var pLayer2 = new MenuLayer2();
            var pLayer3 = new MenuLayer3();
            var pLayer4 = new MenuLayer4();
            var pLayer5 = new MenuLayerPriorityTest();

            var layer = new CCLayerMultiplex(pLayer1, pLayer2, pLayer3, pLayer4, pLayer5);

            AddChild(layer, 0);

            Director.ReplaceScene(this);
        }
Ejemplo n.º 4
0
        public override void runThisTest()
        {
            CCLayer pLayer1 = new MenuLayer1();
            CCLayer pLayer2 = new MenuLayer2();
            CCLayer pLayer3 = new MenuLayer3();
            CCLayer pLayer4 = new MenuLayer4();
            CCLayer pLayer5 = new MenuLayerPriorityTest();
            CCLayer pLayer6 = new MenuLayer5();

            CCLayerMultiplex layer = new CCLayerMultiplex(pLayer1, pLayer2, pLayer3, pLayer4, pLayer5, pLayer6);

            AddChild(layer, 0);

            CCDirector.SharedDirector.ReplaceScene(this);
        }
Ejemplo n.º 5
0
        public override void runThisTest()
        {
            CCLayer pLayer1 = new MenuLayer1();
            CCLayer pLayer2 = new MenuLayer2();
            CCLayer pLayer3 = new MenuLayer3();
            CCLayer pLayer4 = new MenuLayer4();
            CCLayer pLayer5 = new MenuLayerPriorityTest();

            pLayer1.Camera = AppDelegate.SharedCamera;
            pLayer2.Camera = AppDelegate.SharedCamera;
            pLayer3.Camera = AppDelegate.SharedCamera;
            pLayer4.Camera = AppDelegate.SharedCamera;
            pLayer5.Camera = AppDelegate.SharedCamera;

            CCLayerMultiplex layer = new CCLayerMultiplex(pLayer1, pLayer2, pLayer3, pLayer4, pLayer5);
            layer.Camera = AppDelegate.SharedCamera;
            AddChild(layer, 0);

            Director.ReplaceScene(this);
        }