示例#1
0
 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;
 }