C# Class Tcg.Kata.ViewModels.GameViewModel

Inheritance: BaseViewModel
Afficher le fichier Open project: Betclic/CodingDojo-Katas Class Usage Examples

Méthodes publiques

Méthode Description
BeginOfTurn ( ) : void
EndOfTurn ( ) : void
GameViewModel ( IGame game, IPlayer p1, IPlayer p2 ) : System
PlayCard ( CardViewModel card ) : void

Private Methods

Méthode Description
CheckForWinner ( ) : void
InitHands ( ) : void

Method Details

BeginOfTurn() public méthode

public BeginOfTurn ( ) : void
Résultat void

EndOfTurn() public méthode

public EndOfTurn ( ) : void
Résultat void

GameViewModel() public méthode

public GameViewModel ( IGame game, IPlayer p1, IPlayer p2 ) : System
game IGame
p1 IPlayer
p2 IPlayer
Résultat System

PlayCard() public méthode

public PlayCard ( CardViewModel card ) : void
card CardViewModel
Résultat void