C# 클래스 Dominion.ListOfCards

상속: CollectionCards
파일 보기 프로젝트 열기: NathanTeeuwen/Dominulator 1 사용 예제들

공개 메소드들

메소드 설명
AddAllCardsFromInSomeOrder ( CollectionCards other ) : void
AddCardToTop ( Dominion.Card card ) : void
AddNCardsToTop ( Dominion.Card card, int count ) : void
BottomCard ( ) : Dominion.Card
Clear ( ) : void
DrawCardFromTop ( ) : Dominion.Card
FindAndRemoveCardOrderDestroyed ( Dominion.Card card ) : Dominion.Card
GetEnumerator ( ) : IEnumerator
ListOfCards ( CardGameSubset gameSubset ) : System
ListOfCards ( CardGameSubset gameSubset, BagOfCards parent ) : System
RemoveNCardsFromTop ( int count ) : void
Shuffle ( Random random ) : void
SwapCardsInPlace ( int position1, int position2 ) : void
TopCard ( ) : Dominion.Card

보호된 메소드들

메소드 설명
FindCardIndex ( Dominion.Card card ) : int
MoveCardToEnd ( int cardIndex ) : void
RemoveFromEnd ( ) : Dominion.Card
Swap ( int indexfirst, int indexSecond ) : void

비공개 메소드들

메소드 설명
EraseKnownCountKnowledge ( ) : void
MoveBottomCardToTop ( ) : Dominion.Card
NumberBetweenInclusive ( Random random, int lowerBoundInclusive, int upperBoundInclusive ) : int

메소드 상세

AddAllCardsFromInSomeOrder() 공개 메소드

public AddAllCardsFromInSomeOrder ( CollectionCards other ) : void
other CollectionCards
리턴 void

AddCardToTop() 공개 메소드

public AddCardToTop ( Dominion.Card card ) : void
card Dominion.Card
리턴 void

AddNCardsToTop() 공개 메소드

public AddNCardsToTop ( Dominion.Card card, int count ) : void
card Dominion.Card
count int
리턴 void

BottomCard() 공개 메소드

public BottomCard ( ) : Dominion.Card
리턴 Dominion.Card

Clear() 공개 메소드

public Clear ( ) : void
리턴 void

DrawCardFromTop() 공개 메소드

public DrawCardFromTop ( ) : Dominion.Card
리턴 Dominion.Card

FindAndRemoveCardOrderDestroyed() 공개 메소드

public FindAndRemoveCardOrderDestroyed ( Dominion.Card card ) : Dominion.Card
card Dominion.Card
리턴 Dominion.Card

FindCardIndex() 보호된 메소드

protected FindCardIndex ( Dominion.Card card ) : int
card Dominion.Card
리턴 int

GetEnumerator() 공개 메소드

public GetEnumerator ( ) : IEnumerator
리턴 IEnumerator

ListOfCards() 공개 메소드

public ListOfCards ( CardGameSubset gameSubset ) : System
gameSubset CardGameSubset
리턴 System

ListOfCards() 공개 메소드

public ListOfCards ( CardGameSubset gameSubset, BagOfCards parent ) : System
gameSubset CardGameSubset
parent BagOfCards
리턴 System

MoveCardToEnd() 보호된 메소드

protected MoveCardToEnd ( int cardIndex ) : void
cardIndex int
리턴 void

RemoveFromEnd() 보호된 메소드

protected RemoveFromEnd ( ) : Dominion.Card
리턴 Dominion.Card

RemoveNCardsFromTop() 공개 메소드

public RemoveNCardsFromTop ( int count ) : void
count int
리턴 void

Shuffle() 공개 메소드

public Shuffle ( Random random ) : void
random System.Random
리턴 void

Swap() 보호된 메소드

protected Swap ( int indexfirst, int indexSecond ) : void
indexfirst int
indexSecond int
리턴 void

SwapCardsInPlace() 공개 메소드

public SwapCardsInPlace ( int position1, int position2 ) : void
position1 int
position2 int
리턴 void

TopCard() 공개 메소드

public TopCard ( ) : Dominion.Card
리턴 Dominion.Card