private void scriptMyselfFightToolStripMenuItem_Click(object sender, EventArgs e) { string totalText = "Hoplites: " + Hoplite.ToString() + "\n"; totalText += "Steam giants: " + SteamGiant.ToString() + "\n"; totalText += "Spearmen: " + Spearman.ToString() + "\n"; totalText += "Slingers: " + Slinger.ToString() + "\n"; totalText += "Swordsmen: " + Swordsman.ToString() + "\n"; totalText += "Archers: " + Archer.ToString() + "\n"; totalText += "Sulphur carabineers: " + SulphurCarabineer.ToString() + "\n"; totalText += "Rams: " + Ram.ToString() + "\n"; totalText += "Catapults: " + Catapult.ToString() + "\n"; totalText += "Mortars: " + Mortar.ToString() + "\n"; totalText += "Gyrocopters: " + Gyrocopter.ToString() + "\n"; totalText += "Balloon bombardiers: " + BalloonBombardier.ToString() + "\n"; totalText += "Cooks: " + Cook.ToString() + "\n"; totalText += "Doctors: " + Doctor.ToString() + "\n"; totalText += "Transporter ships: " + TransporterShips.ToString() + "\n"; totalText += "\nWhen finished, go to the city and press \"Raid\""; MessageBox.Show(totalText, "Auto fight"); }
public GyrocopterOrbWalker(Gyrocopter hero) : base(hero) { this.hero = hero; }