C# 클래스 ArmedCards.BusinessLogic.DomainServices.GamePlayerCard.Play

Implementation of Base.IPlay
상속: Base.IPlay
파일 보기 프로젝트 열기: kwmcrell/ArmedCards

공개 메소드들

메소드 설명
Execute ( List cardIDs, Int32 gameID, Int32 userId, System.Boolean autoPlayed ) : Entities.ActionResponses.PlayCard

Play a list of cards from a user's hand

Play ( ArmedCards.BusinessLogic.AppServices selectGamePlayerCard, ArmedCards.BusinessLogic.AppServices selectGameRound, ArmedCards.BusinessLogic.AppServices insertGameRoundCard, Base deleteGamePlayerCard ) : System

비공개 메소드들

메소드 설명
CheckHand ( List cards, List cardIDs ) : List

Check to see if the player has cardIDs in their hand

CreateRoundCards ( List cardIDs, Int32 userId, Int32 gameRoundID, Int32 gameID, System.Boolean autoPlayed ) : List

메소드 상세

Execute() 공개 메소드

Play a list of cards from a user's hand
public Execute ( List cardIDs, Int32 gameID, Int32 userId, System.Boolean autoPlayed ) : Entities.ActionResponses.PlayCard
cardIDs List The card IDs the user has selected
gameID System.Int32 The game ID in which the user wants to play the card
userId System.Int32 The user Id
autoPlayed System.Boolean Were these cards auto played
리턴 Entities.ActionResponses.PlayCard

Play() 공개 메소드

public Play ( ArmedCards.BusinessLogic.AppServices selectGamePlayerCard, ArmedCards.BusinessLogic.AppServices selectGameRound, ArmedCards.BusinessLogic.AppServices insertGameRoundCard, Base deleteGamePlayerCard ) : System
selectGamePlayerCard ArmedCards.BusinessLogic.AppServices
selectGameRound ArmedCards.BusinessLogic.AppServices
insertGameRoundCard ArmedCards.BusinessLogic.AppServices
deleteGamePlayerCard Base
리턴 System