コード例 #1
0
 private void ShopList(MyKnights knight)
 {
     if (ShopClose.Visible == true)
     {
         gameFightController.AddKnight(knight);
         CurrentGold.Text = gameFightController.GetMyMoney().ToString();
     }
 }
コード例 #2
0
 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();
 }