public TwoWood( GameComplexityLevel complexity, NumPlayersForAction numPlayers ) { this.Stage = ActionStages.StartingCard; this.NumPlayersForAction = numPlayers; this.Complexity = complexity; this.Resources.Add( AllResources.Wood, 0 ); }
public OneClay( ActionStages stage, GameComplexityLevel complexity, NumPlayersForAction numPlayers ) : base() { this.Stage = ActionStages.OnBoard; this.Complexity = complexity; this.NumPlayersForAction = numPlayers; this.Resources.Add( AllResources.Clay, 0 ); }
public static bool IsAvailableInGameVersion( this NumPlayersForAction item, NumPlayersForAction query ) { return ( ( item & query ) == query ); }
private List<Action> GetStartingCards( NumPlayersForAction numPlayers, GameComplexityLevel complexity ) { if( numPlayers == NumPlayersForAction.None ) { return new List<Action>(); } else { IEnumerable<Action> r = from c in StartingCards where ( c.NumPlayersForAction == numPlayers && c.Complexity == complexity ) select c; return (List<Action>)r; } }
public TakeTwoBuildingResources( NumPlayersForAction numPlayers ) { this.Stage = ActionStages.StartingCard; this.NumPlayersForAction = numPlayers; this.Complexity = GameComplexityLevel.Family; }