C# Class UnoTV.Web.Game.PlayableCards

Afficher le fichier Open project: TomDudfield/UnoTV

Méthodes publiques

Méthode Description
IsPlayable ( PlayableCard card, Card activeCard ) : bool

Returns boolean indicating whether the playable card is playable against the active card.

Process ( IList cards, Card activeCard ) : void

Loops through a players cards setting whether they're are playable with the card provided.

Method Details

IsPlayable() public static méthode

Returns boolean indicating whether the playable card is playable against the active card.
public static IsPlayable ( PlayableCard card, Card activeCard ) : bool
card UnoTV.Web.Domain.PlayableCard
activeCard UnoTV.Web.Domain.Card
Résultat bool

Process() public static méthode

Loops through a players cards setting whether they're are playable with the card provided.
public static Process ( IList cards, Card activeCard ) : void
cards IList
activeCard UnoTV.Web.Domain.Card
Résultat void