/// <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); }
/// <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; }
/// <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; }
/// <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); }
/// <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); }
internal PageTurn3DDemo(ccGridSize gs, float duration) : base(gs, duration) { }
/// <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); }
internal WavesTiles3DDemo(int wav, float amplitude, ccGridSize grid, ccTime duration) : base(wav, amplitude, grid, duration) { }
internal WavesDemo(int wav, float amplitude, bool horizontal, bool vertical, ccGridSize grid, ccTime duration) : base(wav, amplitude, horizontal, vertical, grid, duration) { }
internal Waves3DDemo(int wave, float amplitude, ccGridSize gs, float duration) : base(wave, amplitude, gs, duration) { }
internal TwirlDemo(CCPoint pos, int twirls, float amplitude, ccGridSize grid, ccTime duration) : base(pos, twirls, amplitude, grid, duration) { }
/// <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)); }
/// <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)); }
/// <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)); }
internal LiquidDemo(int wav, float amplitude, ccGridSize grid, ccTime duration) : base(wav, amplitude, grid, duration) { }
internal Lens3DDemo(CCPoint pos, float radius, ccGridSize grid, ccTime duration) : base(pos, radius, grid, duration) { }
internal JumpTiles3DDemo(int j, float amplitude, ccGridSize grid, ccTime duration) : base(j, amplitude, grid, duration) { }
/// <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)); }
/// <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); }
internal Ripple3DDemo(CCPoint pos, float radius, int waves, float amplitude, ccGridSize grid, ccTime duration) : base(pos, radius, waves, amplitude, grid, duration) { }
internal ShatteredTiles3DDemo(int range, bool shake, ccGridSize gs, float duration) : base(range, shake, gs, duration) { }
/// <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); }