C# Class CardsAgainstIRC3.Game.States.VoteForCards

Inheritance: Base
Show file Open project: puckipedia/CardsAgainstIRC

Public Properties

Property Type Description
CardSets Card[]>.Dictionary
CardsetOrder List
ComradeOrder List
Random System.Random
Votes List>.Dictionary

Public Methods

Method Description
Activate ( ) : void
RunoffVoting ( ) : List
TallyVotes ( List dismissed ) : int>.Dictionary
TimeoutReached ( ) : void
UserLeft ( GameUser user, bool voluntarily ) : bool
VoteForCards ( GameManager manager ) : System

Private Methods

Method Description
CardCommand ( CommandContext context, IEnumerable arguments ) : void
SelectWinner ( bool over = false ) : void
SkipCommand ( CommandContext context, IEnumerable arguments ) : void
StatusCommand ( CommandContext context, IEnumerable arguments ) : void

Method Details

Activate() public method

public Activate ( ) : void
return void

RunoffVoting() public method

public RunoffVoting ( ) : List
return List

TallyVotes() public method

public TallyVotes ( List dismissed ) : int>.Dictionary
dismissed List
return int>.Dictionary

TimeoutReached() public method

public TimeoutReached ( ) : void
return void

UserLeft() public method

public UserLeft ( GameUser user, bool voluntarily ) : bool
user GameUser
voluntarily bool
return bool

VoteForCards() public method

public VoteForCards ( GameManager manager ) : System
manager GameManager
return System

Property Details

CardSets public property

public Dictionary CardSets
return Card[]>.Dictionary

CardsetOrder public property

public List CardsetOrder
return List

ComradeOrder public property

public List ComradeOrder
return List

Random public property

public Random,System Random
return System.Random

Votes public property

public Dictionary> Votes
return List>.Dictionary