コード例 #1
0
 public Resources()
 {
     MetalMine     = new MetalMine();
     CrystalMine   = new CrystalMine();
     DeuteriumMine = new DeuteriumMine();
     PowerPlant    = new PowerPlant();
     FusionPlant   = new FusionPlant();
     SolarSatelite = new SolarSatelite();
     MetalSilo     = new MetalSilo();
     CrystalSilo   = new CrystalSilo();
     DeuteriumSilo = new DeuteriumSilo();
 }
コード例 #2
0
 public override string ToString()
 {
     return($"M: {MetalMine.ToString()} C: {CrystalMine.ToString()} D: {DeuteriumSynthesizer.ToString()} S: {SolarPlant.ToString("")} F: {FusionReactor.ToString("")}");
 }