Ejemplo n.º 1
0
 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;
 }
Ejemplo n.º 2
0
 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;
 }
Ejemplo n.º 3
0
		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;
		}
Ejemplo n.º 4
0
 public bool CanPlay(IActivePlayer otherPlayer)
 {
     return(((otherPlayer.Player.Grade - 1) == otherPlayer.Player.Grade) || ((Player.Grade + 1) == otherPlayer.Player.Grade));
 }