12345678910111213141516171819202122232425262728293031323334353637 |
- #region File Description
- //-----------------------------------------------------------------------------
- // Player.cs
- //
- // Microsoft XNA Community Game Platform
- // Copyright (C) Microsoft Corporation. All rights reserved.
- //-----------------------------------------------------------------------------
- #endregion
- #region Using Statements
- using System;
- using System.Collections.Generic;
- using System.Text;
- #endregion
- namespace CardsFramework
- {
- /// <summary>
- /// Represents base player to be extended by inheritance for each
- /// card game.
- /// </summary>
- public class Player
- {
- #region Property
- public string Name { get; set; }
- public CardsGame Game { get; set; }
- public Hand Hand { get; set; }
- #endregion
- public Player(string name, CardsGame game)
- {
- Name = name;
- Game = game;
- Hand = new Hand();
- }
- }
- }
|