Ejemplo n.º 1
0
        /// <summary>
        /// creates the action with size and duration. See CCGridAction.initWithSize().
        /// </summary>
        /// <seealso cref="CCGridAction"/>
        public static CCTiledGrid3DAction actionWithSize(ccGridSize gridSize, float duration)
        {
            CCTiledGrid3DAction action = new CCTiledGrid3DAction();

            action.initWithSize(gridSize, duration);
            return(action);
        }
Ejemplo n.º 2
0
        /// <summary>
        /// creates the action with size and duration
        /// </summary>
        public static CCGridAction actionWithSize(ccGridSize gridSize, float duration)
        {
            CCGridAction pAction = new CCGridAction();
            if (pAction.initWithSize(gridSize, duration))
            {
                return pAction;
            }

            return null;
        }
Ejemplo n.º 3
0
        /// <summary>
        /// initializes the action with size and duration
        /// </summary>
        public virtual bool initWithSize(ccGridSize gridSize, float duration)
        {
            if (base.initWithDuration(duration))
            {
                m_sGridSize = gridSize;

                return true;
            }

            return false;
        }
Ejemplo n.º 4
0
        /// <summary>
        /// initializes the action with size and duration
        /// </summary>
        public virtual bool initWithSize(ccGridSize gridSize, float duration)
        {
            if (base.initWithDuration(duration))
            {
                m_sGridSize = gridSize;

                return(true);
            }

            return(false);
        }
Ejemplo n.º 5
0
        /// <summary>
        /// creates the action with size and duration
        /// </summary>
        public static CCGridAction actionWithSize(ccGridSize gridSize, float duration)
        {
            CCGridAction pAction = new CCGridAction();

            if (pAction.initWithSize(gridSize, duration))
            {
                return(pAction);
            }

            return(null);
        }
Ejemplo n.º 6
0
 internal PageTurn3DDemo(ccGridSize gs, float duration)
     : base(gs, duration)
 {
 }
Ejemplo n.º 7
0
 /// <summary>
 /// sets a new tile to a certain position of the grid
 /// </summary>
 public virtual void setTile(ccGridSize pos, ccQuad3 coords)
 {
     setTile(pos.x, pos.y, coords);
 }
Ejemplo n.º 8
0
 internal WavesTiles3DDemo(int wav, float amplitude, ccGridSize grid, ccTime duration)
     : base(wav, amplitude, grid, duration)
 {
 }
Ejemplo n.º 9
0
 internal WavesDemo(int wav, float amplitude, bool horizontal, bool vertical, ccGridSize grid, ccTime duration)
     : base(wav, amplitude, horizontal, vertical, grid, duration)
 {
 }
Ejemplo n.º 10
0
 internal Waves3DDemo(int wave, float amplitude, ccGridSize gs, float duration)
     : base(wave, amplitude, gs, duration)
 {
 }
Ejemplo n.º 11
0
 internal TwirlDemo(CCPoint pos, int twirls, float amplitude, ccGridSize grid, ccTime duration)
     : base(pos, twirls, amplitude, grid, duration)
 {
 }
Ejemplo n.º 12
0
 /// <summary>
 /// returns the non-transformed tile that belongs to a certain position of the grid. This 
 /// can return null if the scene is not setup and the update pipeline calls this method
 /// during an action update.
 /// </summary>
 public virtual ccQuad3 originalTile(ccGridSize pos)
 {
     return (originalTile(pos.x, pos.y));
 }
Ejemplo n.º 13
0
 /// <summary>
 /// returns the tile that belongs to a certain position of the grid
 /// </summary>
 public virtual ccQuad3 tile(ccGridSize pos)
 {
     return(tile(pos.x, pos.y));
 }
Ejemplo n.º 14
0
 /// <summary>
 /// returns the non-transformed tile that belongs to a certain position of the grid. This
 /// can return null if the scene is not setup and the update pipeline calls this method
 /// during an action update.
 /// </summary>
 public virtual ccQuad3 originalTile(ccGridSize pos)
 {
     return(originalTile(pos.x, pos.y));
 }
Ejemplo n.º 15
0
 internal LiquidDemo(int wav, float amplitude, ccGridSize grid, ccTime duration)
     : base(wav, amplitude, grid, duration)
 {
 }
Ejemplo n.º 16
0
 internal Lens3DDemo(CCPoint pos, float radius, ccGridSize grid, ccTime duration)
     : base(pos, radius, grid, duration)
 {
 }
Ejemplo n.º 17
0
 internal JumpTiles3DDemo(int j, float amplitude, ccGridSize grid, ccTime duration)
     : base(j, amplitude, grid, duration)
 {
 }
Ejemplo n.º 18
0
 /// <summary>
 /// returns the tile that belongs to a certain position of the grid
 /// </summary>
 public virtual ccQuad3 tile(ccGridSize pos)
 {
     return (tile(pos.x, pos.y));
 }
Ejemplo n.º 19
0
 /// <summary>
 /// sets a new tile to a certain position of the grid
 /// </summary>
 public virtual void setTile(ccGridSize pos, ccQuad3 coords)
 {
     setTile(pos.x, pos.y, coords);
 }
Ejemplo n.º 20
0
 internal Ripple3DDemo(CCPoint pos, float radius, int waves, float amplitude, ccGridSize grid, ccTime duration)
     : base(pos, radius, waves, amplitude, grid, duration)
 {
 }
Ejemplo n.º 21
0
 internal ShatteredTiles3DDemo(int range, bool shake, ccGridSize gs, float duration)
     : base(range, shake, gs, duration)
 {
 }
Ejemplo n.º 22
0
 /// <summary>
 /// creates the action with size and duration. See CCGridAction.initWithSize().
 /// </summary>
 /// <seealso cref="CCGridAction"/>
 public static CCTiledGrid3DAction actionWithSize(ccGridSize gridSize, float duration)
 {
     CCTiledGrid3DAction action = new CCTiledGrid3DAction();
     action.initWithSize(gridSize, duration);
     return (action);
 }