C# 클래스 UnoTV.Web.Game.GameState

파일 보기 프로젝트 열기: TomDudfield/UnoTV 1 사용 예제들

공개 메소드들

메소드 설명
AddPlayer ( Player player ) : void

Adds a new player to the game.

GameState ( ) : System
PlayCard ( Card card ) : void

Plays a card, removes from face down pile and adds to played pile

ResetGame ( ) : void

Resets the game to initial hands.

Start ( ) : void

Starts the game which determines the player order and deals the initial hands to the players.

비공개 메소드들

메소드 설명
MoveToNextPlayer ( Card card ) : void
UpdateIndex ( int index ) : int

메소드 상세

AddPlayer() 공개 메소드

Adds a new player to the game.
public AddPlayer ( Player player ) : void
player UnoTV.Web.Domain.Player
리턴 void

GameState() 공개 메소드

public GameState ( ) : System
리턴 System

PlayCard() 공개 메소드

Plays a card, removes from face down pile and adds to played pile
public PlayCard ( Card card ) : void
card UnoTV.Web.Domain.Card
리턴 void

ResetGame() 공개 메소드

Resets the game to initial hands.
public ResetGame ( ) : void
리턴 void

Start() 공개 메소드

Starts the game which determines the player order and deals the initial hands to the players.
public Start ( ) : void
리턴 void