public override void runThisTest()
        {
            CCLayer pLayer1 = new MenuLayer1();
            CCLayer pLayer2 = new MenuLayer2();
            CCLayer pLayer3 = new MenuLayer3();
            CCLayer pLayer4 = new MenuLayer4();

            CCLayerMultiplex layer = CCLayerMultiplex.layerWithLayers(pLayer1, pLayer2, pLayer3, pLayer4);
            addChild(layer, 0);

            CCDirector.sharedDirector().replaceScene(this);
        }
Beispiel #2
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);
        }
Beispiel #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);
        }
Beispiel #4
0
        public override void runThisTest()
        {
            CCLayer pLayer1 = new MenuLayer1();
            CCLayer pLayer2 = new MenuLayer2();
            CCLayer pLayer3 = new MenuLayer3();
            CCLayer pLayer4 = new MenuLayer4();


            CCLayerMultiplex layer = CCLayerMultiplex.layerWithLayers(pLayer1, pLayer2, pLayer3, pLayer4);

            addChild(layer, 0);

            CCDirector.sharedDirector().replaceScene(this);
        }
Beispiel #5
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);
        }
Beispiel #6
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);
        }
Beispiel #7
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);
        }