예제 #1
0
 private void buttonRefillAllPowerCollectors_Click(object sender, EventArgs e)
 {
     if (_loadedSaveGame != null)
     {
         _loadedSaveGame = _loadedSaveGame.FillAllPowerCollectors();
         textBoxLog.AppendText("Done." + Environment.NewLine);
     }
     else
     {
         textBoxLog.AppendText("No SaveGame selected." + Environment.NewLine);
     }
 }
예제 #2
0
 public static SaveGameCore FillAllCollectors(this SaveGameCore input)
 {
     return(input.FillAllPowerCollectors().FillAllWatterTanks());
 }