Beispiel #1
0
        public bool betting(int amount, int bittingVampire)
        {
            this.genzaiGyanburu = new Gyanburu()
            {
                Betto_gaku = amount, shuriken = bittingVampire
            };

            if (amount <= okane)
            {
                okane        -= amount;
                activity.Text = this.na + " has placed $" + amount + " on Vampire #" + bittingVampire;
                this.UpdateActivity();
                return(true);
            }
            else
            {
                MessageBox.Show(this.na + " doesn't have enough money to cover for the bet!");
                this.genzaiGyanburu = null;
                return(false);
            }
        }
Beispiel #2
0
 public void ResetStats()
 {
     genzaiGyanburu = null;
     activity.Text  = na + " has't placed a bet.";
 }