Ejemplo n.º 1
0
        private void UpdateDisplays()
        {
            List <int> topRow    = guts.GetTopRow();
            List <int> middleRow = guts.GetMiddleRow();
            List <int> bottomRow = guts.GetBottomRow();

            // Update the reels
            firstReelTopRow.Text  = topRow[0].ToString();
            secondReelTopRow.Text = topRow[1].ToString();
            thirdReelTopRow.Text  = topRow[2].ToString();

            firstReelMiddleRow.Text  = middleRow[0].ToString();
            secondReelMiddleRow.Text = middleRow[1].ToString();
            thirdReelMiddleRow.Text  = middleRow[2].ToString();

            firstReelBottomRow.Text  = bottomRow[0].ToString();
            secondReelBottomRow.Text = bottomRow[1].ToString();
            thirdReelBottomRow.Text  = bottomRow[2].ToString();

            //update the money bits
            PlayersMoney.Text = guts.PlayerCredit.ToString();
        }