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 bool CanPlay(IActivePlayer otherPlayer) { return(((otherPlayer.Player.Grade - 1) == otherPlayer.Player.Grade) || ((Player.Grade + 1) == otherPlayer.Player.Grade)); }