📄 combination.cs
字号:
/* Author: Diane Corney
* Date: September, 2007
*/
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;
namespace Yahtzee {
abstract class Combination : Score {
protected bool isYahtzee;
protected int yahtzeeNumber;
public Combination(Label label)
: base(label) {
isYahtzee = false;
yahtzeeNumber = 0;
}
public bool IsYahtzee {
get {
return isYahtzee;
}
}
public int YahtzeeNumber {
get {
return yahtzeeNumber;
}
}
public abstract void CalculateScore(int[] diceValues);
public void Sort(int[] diceValues) {
}
public void CheckForYahtzee(int[] diceValues) {
}
}
}
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -