Exemplo n.º 1
0
        public CombatInventory(Battle battle)
        {
            InitializeComponent();
            inventoryPicture = new List<PictureBox>();
            inventoryLabel = new List<Label>();

            this.battle = battle;
            showPlayerInventory();
        }
Exemplo n.º 2
0
 public BattleScreen(Player currentplayer)
 {
     InitializeComponent();
     battle = new Battle(currentplayer);
     this.PlayerName.Text = battle.player.Name;
     this.PlayerHP.Text = battle.player.HPText;
     this.MonsterName.Text = battle.monster.Name;
     this.MonsterHP.Text = battle.monster.HPText;
     this.PlayerPicture.Image = global::SimpleGame.Properties.Resources.player_image;
     this.MonsterPicture.Image = Art.GetMonsterImage(battle.monster.ID);
 }