public MotherFaker() { Dice = new FakeDice(); Banker = new TraditionalBanker(new[] { 0 }); JailRoster = new TraditionalJailRoster(Banker); GameBoard = new GameBoard(Banker); var cardDeckFactory = new TraditionalCardDeckFactory(Banker, JailRoster, GameBoard, Dice); LocationFactory = new TraditionalLocationFactory(Banker, Dice, JailRoster, GameBoard, cardDeckFactory); GameBoard.SetLocations(LocationFactory.GetLocations(), LocationFactory.GetRailroads(), LocationFactory.GetUtilities()); }
public Hangout(dynamic hangout) { Id = hangout.id; CreatedByUserId = hangout.createdById; Locations = LocationFactory.GetLocations(hangout.locations); }