Exemple #1
0
    public AreaZone CreateArea(string faction, params Cell[] cells)
    {
        var newZone = new AreaZone();

        AreaZones.Add(newZone);
        name = $"Area {AreaZones.Count}";
        AssignAndPopulateZone(faction, cells, newZone);
        return(newZone);
    }
Exemple #2
0
 internal void LoadArea(AreaZone area)
 {
     AreaZones.Add(area);
     Zones.Add(area, DrawZone(area));
 }