private Decorator SetDecoratoresNoLimitWithSpectatores() { Decorator mid = new MiddleGameDecorator(GameMode.NoLimit, 10, 5); Decorator before = new BeforeGameDecorator(10, 1000, true, 2, 4, 20, LeagueName.A); before.SetNextDecorator(mid); return(before); }
private void SetDecoratoresPotLimitWithSpectatores() { Decorator mid = new MiddleGameDecorator(GameMode.PotLimit, 10, 5); Decorator before = new BeforeGameDecorator(10, 1000, true, 2, 4, 20, LeagueName.A); before.SetNextDecorator(mid); gameRoom.SetDecorator(before); }
public Decorator CreateDecorator(int minBet, int startingChip, bool canSpectate, int minPlayersInRoom, int maxPlayersInRoom, int enterPayingMoney, GameMode gameModeChosen, LeagueName league) { Decorator mid = new MiddleGameDecorator(gameModeChosen, minBet, minBet / 2); Decorator before = new BeforeGameDecorator(minBet, startingChip, canSpectate, minPlayersInRoom, maxPlayersInRoom, enterPayingMoney, league); before.SetNextDecorator(mid); return(before); }
private void SetDecoratoresLimitNoSpectatores() { Decorator mid = new MiddleGameDecorator(GameMode.Limit, 20, 10); Decorator before = new BeforeGameDecorator(20, 1500, false, 2, 5, 25, LeagueName.B); before.SetNextDecorator(mid); gameRoom.SetDecorator(before); }
private Decorator SetDecoratoresNoLimitWithSpectatores() { Decorator mid = new MiddleGameDecorator(TexasHoldemShared.CommMessages.GameMode.NoLimit, 10, 5); Decorator before = new BeforeGameDecorator(10, 1000, true, 2, 4, 20, TexasHoldem.Logic.GameControl.LeagueName.A); before.SetNextDecorator(mid); return(before); }