Exemple #1
0
        private void Form1_Load(object sender, EventArgs e)
        {
            lblMap.Text  = Game.ToString();
            Statbox.Text = Game.Map.hero.ToString();

            button2.Text = shop.DisplayWeapon(weapon);

            if (shop.CanBuy(0) == false || shop.CanBuy(1) == false || shop.CanBuy(2) == false)
            {
                button2.Enabled = false;
            }
        }