Beispiel #1
0
        public static new CCTurnOffTiles actionWithSize(ccGridSize size, float d)
        {
            CCTurnOffTiles cCTurnOffTile = new CCTurnOffTiles();

            if (cCTurnOffTile.initWithSize(size, d))
            {
                return(cCTurnOffTile);
            }
            return(null);
        }
Beispiel #2
0
        /// <summary>
        /// creates the action with the grid size and the duration
        /// </summary>
        public static new CCTurnOffTiles actionWithSize(ccGridSize size, float d)
        {
            CCTurnOffTiles pAction = new CCTurnOffTiles();
            if (pAction.initWithSize(size, d))
            {
                return pAction;
            }

            return null;
        }
Beispiel #3
0
        /// <summary>
        /// creates the action with the grid size and the duration
        /// </summary>
        public new static CCTurnOffTiles actionWithSize(ccGridSize size, float d)
        {
            CCTurnOffTiles pAction = new CCTurnOffTiles();

            if (pAction.initWithSize(size, d))
            {
                return(pAction);
            }

            return(null);
        }
 /// <summary>
 /// creates the action with the grid size and the duration
 /// </summary>
 /// <param name="size"></param>
 /// <param name="d"></param>
 /// <returns></returns>
 public static CCTurnOffTiles actionWithSize(ccGridSize size, float d)
 {
     CCTurnOffTiles pAction = new CCTurnOffTiles();
     if (pAction.initWithSize(size, d))
     {
         //pAction->autorelease();
     }
     else
     {
         //CC_SAFE_RELEASE_NULL(pAction);
     }
     return pAction;
 }