/// <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(int x, int y)
        {
            CCTiledGrid3D g = (CCTiledGrid3D)m_pTarget.Grid;

            if (g != null)
            {
                return(g.originalTile(x, y));
            }
            return(null);
        }
Beispiel #2
0
        public virtual ccQuad3 originalTile(int x, int y)
        {
            CCTiledGrid3D grid = (CCTiledGrid3D)this.m_pTarget.Grid;

            if (grid == null)
            {
                return(null);
            }
            return(grid.originalTile(x, y));
        }