/// <summary>
 /// sets a new tile to a certain position of the grid
 /// </summary>
 public virtual void setTile(int x, int y, ccQuad3 coords)
 {
     if (coords == null)
     {
         return;
     }
     CCTiledGrid3D g = (CCTiledGrid3D)Target.Grid;
     if (g != null)
     {
         g.setTile(x, y, coords);
     }
 }
Exemple #2
0
        /// <summary>
        /// sets a new tile to a certain position of the grid
        /// </summary>
        public virtual void setTile(int x, int y, ccQuad3 coords)
        {
            if (coords == null)
            {
                return;
            }
            CCTiledGrid3D g = (CCTiledGrid3D)Target.Grid;

            if (g != null)
            {
                g.setTile(x, y, coords);
            }
        }
Exemple #3
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);
 }
 /// <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);
 }