Example #1
0
        private void CalculateToroSpecial(ScoreData score)
        {
            if (0 < _fishList[(int)FishType.maguro][(int)SizeType.Large] &&
                0 < _fishList[(int)FishType.sake][(int)SizeType.Large] &&
                0 < _fishList[(int)FishType.mekaziki][(int)SizeType.Large])
            {
                score._toroSpecial = SpecialInfo.BigToro3Kan();
                return;
            }

            if (0 < _fishList[(int)FishType.maguro][(int)SizeType.Medium] &&
                0 < _fishList[(int)FishType.sake][(int)SizeType.Medium] &&
                0 < _fishList[(int)FishType.mekaziki][(int)SizeType.Medium])
            {
                score._toroSpecial = SpecialInfo.MidiumToro3Kan();
                return;
            }

            if (0 < _fishList[(int)FishType.maguro][(int)SizeType.Small] &&
                0 < _fishList[(int)FishType.maguro][(int)SizeType.Small] &&
                0 < _fishList[(int)FishType.sake][(int)SizeType.Small])
            {
                score._toroSpecial = SpecialInfo.SmallToro3Kan();
                return;
            }
        }