⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 player.cs

📁 一个Csharp游戏 GUI based .NET application
💻 CS
字号:
/* Author:  Diane Corney
 * Date:    September, 2007
 */
using System;
using System.Collections.Generic;
using System.Text;
using System.Windows.Forms;

namespace Yahtzee {

    class Player {
        private string name;
        private int combinationsToDo;
        private Score[] scores;
        private int firstRoll;

        public Player(string name, Label[] scoreLabels) {
        }

        public string Name {
            get {
                return name;
            }
        }

        public int FirstRoll {
            get {
                return firstRoll;
            }
            set {
                firstRoll = value;
            }
        }

        public void ScoreCombination(ScoreType scoreType, int[] diceValues) {
        }

        public int GetGrandTotal() {
            return 0;
        }

        public bool IsAvailable(ScoreType scoreType) {
            return false;
        }

        public void ShowScores() {
        }

        public bool IsFinished() {
            return false;
        }

        public void Load(Label[] scoreLabels) {
        }


    }
}

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -