예제 #1
0
    public RoomZone CreateRoom(string faction, params Cell[] cells)
    {
        var newZone = new RoomZone();

        RoomZones.Add(newZone);
        name = $"Room {RoomZones.Count}";
        AssignAndPopulateZone(faction, cells, newZone);

        return(newZone);
    }
예제 #2
0
 internal void LoadRoom(RoomZone room)
 {
     RoomZones.Add(room);
     Zones.Add(room, DrawZone(room));
 }