예제 #1
0
파일: CargoDelta.cs 프로젝트: ekolis/FrEee
 public CargoDelta()
 {
     RacePopulation    = new GalaxyReferenceKeyedDictionary <Race, long?>();
     AllPopulation     = false;
     AnyPopulation     = 0L;
     Units             = new GalaxyReferenceSet <IUnit>();
     UnitDesignTonnage = new GalaxyReferenceKeyedDictionary <IDesign <IUnit>, int?>();
     UnitRoleTonnage   = new SafeDictionary <string, int?>();
     UnitTypeTonnage   = new SafeDictionary <VehicleTypes, int?>();
 }
예제 #2
0
파일: Package.cs 프로젝트: ekolis/FrEee
 public Package(Empire owner, Empire recipient)
 {
     Owner                 = owner;
     Recipient             = recipient;
     TreatyClauses         = new HashSet <Clause>();
     Planets               = new GalaxyReferenceSet <Planet>();
     Vehicles              = new GalaxyReferenceSet <IVehicle>();
     Resources             = new ResourceQuantity();
     Technology            = new ModReferenceKeyedDictionary <Tech, int>();
     StarCharts            = new GalaxyReferenceSet <StarSystem>();
     CommunicationChannels = new GalaxyReferenceSet <Empire>();
 }
예제 #3
0
파일: Fleet.cs 프로젝트: ekolis/FrEee
 public Fleet()
 {
     Vehicles  = new GalaxyReferenceSet <IMobileSpaceObject>();
     Orders    = new List <IOrder>();
     Timestamp = Galaxy.Current?.Timestamp ?? 0;
 }