コード例 #1
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>();
 }
コード例 #2
0
ファイル: ResearchCommand.cs プロジェクト: ekolis/FrEee
 public ResearchCommand()
     : base(Empire.Current)
 {
     Spending = new ModReferenceKeyedDictionary <Tech, int>();
     Queue    = new ModReferenceList <Tech>();
 }