private void ShopList(MyKnights knight) { if (ShopClose.Visible == true) { gameFightController.AddKnight(knight); CurrentGold.Text = gameFightController.GetMyMoney().ToString(); } }
public GameFight(IGameFightController gameFightController) { this.gameFightController = gameFightController; gameModel = gameFightController.GetModel(); InitializeComponent(); logger = new Logger(); GetImages(); GetOpenImageOfKnight(); CurrentGold.Text = gameFightController.GetMyMoney().ToString(); Music(false); SetLifes(); SetTowerLife(); }