public CombatInventory(Battle battle) { InitializeComponent(); this.battle = battle; getpotionlist(); showPlayerInventory(); }
public BattleScreen(Player currentplayer, Monster monster) { InitializeComponent(); battle = new Battle(currentplayer, monster); this.PlayerName.Text = battle.player.Name; this.PlayerHP.Text = battle.player.FormatHpText(); this.MonsterName.Text = battle.monster.Name; this.MonsterHP.Text = battle.monster.FormatHpText(); this.PlayerPicture.Image = global::SimpleGame.Properties.Resources.player_image; this.MonsterPicture.Image = battle.monster.Picture; }