Ejemplo n.º 1
0
 public CombatInventory(Battle battle)
 {
     InitializeComponent();
     this.battle = battle;
     getpotionlist();
     showPlayerInventory();
 }
Ejemplo n.º 2
0
 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;
 }