Пример #1
0
        public void SetSpot(int col, int row, CForestRoomTileType v)
        {
            bool b = ValidSpot(col, row);

            if (!b)
            {
                Debug.LogWarningFormat("Check Room mapSize and Shape. col={0} row={1}", col, row);
                return;
            }

            Spots[col, row] = v;
        }
Пример #2
0
 private void SetTileData(int x, int y, string id, CForestRoomTileType type)
 {
     m_roomMap[x, y] = type;
 }