示例#1
0
 public override void runThisTest()
 {
     CCLayer pLayer = new RotateWorldMainLayer();
     AddChild(pLayer);
     RunAction(new CCRotateBy (4, -360));
     Director.ReplaceScene(this);
 }
        public override void runThisTest()
        {
            CCLayer pLayer = RotateWorldMainLayer.node();

            AddChild(pLayer);
            RunAction(new CCRotateBy(4, -360));
            CCDirector.SharedDirector.ReplaceScene(this);
        }
示例#3
0
        public override void runThisTest()
        {
            CCLayer pLayer = RotateWorldMainLayer.node();

            addChild(pLayer);
            runAction(CCRotateBy.actionWithDuration(4, -360));
            CCDirector.sharedDirector().replaceScene(this);
        }
        public override void runThisTest()
        {
            var rotateWorld = new RotateWorldMainLayer();

            AddChild(rotateWorld);

            RunAction(new CCRotateBy(4, -360));
            Director.ReplaceScene(this);
        }
 public static new RotateWorldMainLayer node()
 {
     RotateWorldMainLayer node = new RotateWorldMainLayer();
     return node;
 }
        public static new RotateWorldMainLayer node()
        {
            RotateWorldMainLayer node = new RotateWorldMainLayer();

            return(node);
        }