コード例 #1
0
ファイル: EndOfTurn.cs プロジェクト: RichardBlazek/Imperit
 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;
 }
コード例 #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;
 }
コード例 #3
0
ファイル: NewGame.cs プロジェクト: RichardBlazek/Imperit
		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;
		}
コード例 #4
0
 public ProvincesLoader(IServiceIO io, ISettingsLoader settings, IPlayersLoader players)
 {
     this.io   = io;
     loader    = new Load.ProvincesJsonLoader(io.Provinces, io.Graph, io.Shapes, settings.Settings, players);
     provinces = loader.Load();
 }