public EndOfTurn(IPlayersLoader players, IProvincesLoader pr, IActionLoader actions, IActivePlayer active, IPowersLoader powers) { this.players = players; this.pr = pr; this.actions = actions; this.active = active; this.powers = powers; }
public NewGame(ISettingsLoader sl, IPlayersLoader players, IProvincesLoader provinces, IActionLoader actions, IActivePlayer active, IPowersLoader powers) { this.sl = sl; this.players = players; this.provinces = provinces; this.actions = actions; this.active = active; this.powers = powers; }
public NewGame(ISettingsLoader sl, IPlayersLoader players, IProvincesLoader provinces, IActionLoader actions, IActivePlayer active, IPowersLoader powers, ILoginSession login, IGameLoader game, IFormerPlayersLoader former) { this.sl = sl; this.players = players; this.provinces = provinces; this.actions = actions; this.active = active; this.powers = powers; this.login = login; this.game = game; this.former = former; }
public PowersLoader(IServiceIO io, IProvincesLoader provinces) { loader = new Load.JsonWriter <Load.JsonPlayersPower, ImmutableArray <PlayerPower>, bool>(io.Powers, false, Load.JsonPlayersPower.From); powers = loader.Load().ToList(); this.provinces = provinces; }