Exemplo n.º 1
0
 public AssetRepositoryWrite(ILogger <AssetRepositoryWrite> logger
                             , WorldState world
                             , AssetRepository assetRepository
                             , ResourceRepository resourceRepository
                             , ResourceRepositoryWrite resourceRepositoryWrite
                             , ActionQueueRepository actionQueueRepository
                             , GameDef gameDef
                             )
 {
     this.logger                  = logger;
     this.world                   = world;
     this.assetRepository         = assetRepository;
     this.resourceRepository      = resourceRepository;
     this.resourceRepositoryWrite = resourceRepositoryWrite;
     this.actionQueueRepository   = actionQueueRepository;
     this.gameDef                 = gameDef;
 }
Exemplo n.º 2
0
 public UnitRepositoryWrite(ILogger <UnitRepositoryWrite> logger
                            , WorldState world
                            , GameDef gameDef
                            , UnitRepository unitRepository
                            , ResourceRepositoryWrite resourceRepositoryWrite
                            , PlayerRepository playerRepository
                            , IBattleBehavior battleBehavior
                            )
 {
     this.logger                  = logger;
     this.world                   = world;
     this.gameDef                 = gameDef;
     this.unitRepository          = unitRepository;
     this.resourceRepositoryWrite = resourceRepositoryWrite;
     this.playerRepository        = playerRepository;
     this.battleBehavior          = battleBehavior;
 }