C# Класс UnoTV.Web.Game.PlayableCards

Показать файл Открыть проект

Открытые методы

Метод Описание
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.

Описание методов

IsPlayable() публичный статический Метод

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
Результат bool

Process() публичный статический Метод

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
Результат void