Exemplo n.º 1
0
        public void EarnPoints(int filledLineCount)
        {
            switch (filledLineCount)
            {
            case 1: m_scorer.AddNewPoints((int)PointsForFiledLines.OneLine);        break;

            case 2: m_scorer.AddNewPoints((int)PointsForFiledLines.TwoLines);       break;

            case 3: m_scorer.AddNewPoints((int)PointsForFiledLines.ThreeLines);     break;

            case 4: m_scorer.AddNewPoints((int)PointsForFiledLines.FourLines);      break;
            }
        }