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

파일 보기 프로젝트 열기: TomDudfield/UnoTV

공개 메소드들

메소드 설명
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