Пример #1
0
 public AssetRepository(WorldState world
                        , PlayerRepository playerRepository
                        , ActionQueueRepository actionQueueRepository
                        )
 {
     this.world                 = world;
     this.playerRepository      = playerRepository;
     this.actionQueueRepository = actionQueueRepository;
 }
Пример #2
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;
 }