Beispiel #1
0
 public MapDoodads(params MapDoodadData[] doodads)
 {
     _doodads        = new List <MapDoodadData>(doodads);
     _specialDoodads = new List <MapSpecialDoodadData>();
     _header         = MapWidgetsHeader.GetDefault((uint)_doodads.Count);
 }
Beispiel #2
0
 public MapUnits(params MapUnitData[] units)
 {
     _units  = new List <MapUnitData>(units);
     _header = MapWidgetsHeader.GetDefault((uint)_units.Count);
 }
Beispiel #3
0
 public MapDoodads(IEnumerable <MapDoodadData> doodads, IEnumerable <MapSpecialDoodadData> specialDoodads)
 {
     _doodads        = new List <MapDoodadData>(doodads);
     _specialDoodads = new List <MapSpecialDoodadData>(specialDoodads);
     _header         = MapWidgetsHeader.GetDefault((uint)_doodads.Count);
 }
Beispiel #4
0
 public MapUnits(IEnumerable <MapUnitData> units)
 {
     _units  = new List <MapUnitData>(units);
     _header = MapWidgetsHeader.GetDefault((uint)_units.Count);
 }