예제 #1
0
        public RouletteBetScreen()
        {
            currentBetNumber = 0;
            timerCall        = 0;
            credits          = 1000;
            bet     = 0;
            win     = 0;
            seconds = 20;

            chipsDoc = new ChipsDoc();

            ChipBet c = new ChipBet(new Point(400, 615), 1);

            chipsDoc.AddChipBet(c);

            c = new ChipBet(new Point(500, 615), 5);
            chipsDoc.AddChipBet(c);

            c = new ChipBet(new Point(600, 615), 10);
            chipsDoc.AddChipBet(c);

            c = new ChipBet(new Point(700, 615), 50);
            chipsDoc.AddChipBet(c);

            InitializeComponent();
        }
예제 #2
0
 //Adding the BettingChips // 1, 5, 10, 50
 public void AddChipBet(ChipBet c)
 {
     ChipsBet.Add(c);
 }