Пример #1
0
            public RoomIndexIterator(RoomLayout[, ,] roomGrid, eIterationType type)
            {
                m_roomIndex     = new RoomIndex(-1, 0, 0);
                m_roomGrid      = roomGrid;
                m_iterationType = type;

                Next();
            }
Пример #2
0
            public RoomIndexIterator(RoomLayout[, ,] roomGrid)
            {
                m_roomIndex     = new RoomIndex(-1, 0, 0);
                m_roomGrid      = roomGrid;
                m_iterationType = eIterationType.nonNullRooms;

                Next();
            }