public FourWood( GameComplexityLevel complexity ) { this.Stage = ActionStages.StartingCard; this.NumPlayersForAction = NumPlayersForAction.FivePlayer; this.Complexity = complexity; this.Resources.Add( AllResources.Wood, 0 ); }
public TwoWood( GameComplexityLevel complexity, NumPlayersForAction numPlayers ) { this.Stage = ActionStages.StartingCard; this.NumPlayersForAction = numPlayers; this.Complexity = complexity; this.Resources.Add( AllResources.Wood, 0 ); }
public TwoClay( GameComplexityLevel complexity ) { this.Stage = ActionStages.StartingCard; this.NumPlayersForAction = NumPlayersForAction.FourPlayer; this.Complexity = complexity; this.Resources.Add( AllResources.Clay, 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 TravelingPlayers( GameComplexityLevel complexity ) : base() { this.Stage = ActionStages.StartingCard; this.Complexity = complexity; this.NumPlayersForAction = NumPlayersForAction.FourPlayer; this.Resources.Add( AllResources.Food, 0 ); }
public ReedStoneFood( GameComplexityLevel complexity ) : base() { this.Stage = ActionStages.StartingCard; this.NumPlayersForAction = NumPlayersForAction.FourPlayer; this.Complexity = complexity; this.Resources.Add( AllResources.Reed, 1 ); this.Resources.Add( AllResources.Stone, 1 ); this.Resources.Add( AllResources.Food, 1 ); }
public SheepBoarCattle( GameComplexityLevel complexity ) : base() { this.Stage = ActionStages.StartingCard; this.NumPlayersForAction = NumPlayersForAction.FivePlayer; this.Complexity = complexity; this.Resources.Add( AllResources.Sheep, 1 ); this.Resources.Add( AllResources.WildBoar, 1 ); this.Resources.Add( AllResources.Cattle, 1 ); this.Resources.Add( AllResources.Food, 1 ); }
public TakeBuildingResource( GameComplexityLevel complexity ) { this.Stage = ActionStages.StartingCard; this.NumPlayersForAction = NumPlayersForAction.ThreePlayer; this.Complexity = complexity; }
private List<Action> GetStartingCards( int numPlayers, GameComplexityLevel complexity ) { NumPlayersForAction np = (NumPlayersForAction)( 1 << ( numPlayers - 1 ) ); return GetStartingCards( np, complexity ); }
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; } }