Beispiel #1
0
 public ServerSoundEntityFactory(SoundContext context,
                                 PlayerContext playerContext,
                                 IEntityIdGenerator idGenerator,
                                 ICurrentTime currentTime,
                                 ISoundConfigManager soundConfigManager) : base(context, idGenerator, currentTime, soundConfigManager)
 {
     _playerContext = playerContext;
 }
Beispiel #2
0
 public ClientSoundPlaybackSystem(PlayerContext playerContext,
                                  ISoundEntityFactory soundEntityFactory,
                                  ISoundConfigManager soundConfigManager)
 {
     _playGroup          = playerContext.GetGroup(PlayerMatcher.Sound);
     _soundEntityFactory = soundEntityFactory;
     _soundConfigManager = soundConfigManager;
     _playerContext      = playerContext;
 }
Beispiel #3
0
 public ClientSoundEntityFactory(SoundContext context,
                                 IEntityIdGenerator idGenerator,
                                 ICurrentTime currentTime,
                                 ISoundConfigManager soundConfigManager)
 {
     _soundContext       = context;
     _idGenerator        = idGenerator;
     _currentTime        = currentTime;
     _soundConfigManager = soundConfigManager;
 }
Beispiel #4
0
 public SoundConverter(ISoundConfigManager soundConfigManager,
                       IPlayerSoundConfigManager playerSoundConfigManager,
                       ITerrainManager terrainManager,
                       IMapConfigManager mapConfigManager)
 {
     _soundConfigManager       = soundConfigManager;
     _playerSoundConfigManager = playerSoundConfigManager;
     _terrainManager           = terrainManager;
     _mapConfigManager         = mapConfigManager;
 }
 public PlayerSoundManager(PlayerEntity playerEntity,
                           SoundContext soundContext,
                           IPlayerSoundConfigManager playerSoundConfigManager,
                           ISoundConfigManager soundConfigManager,
                           ISoundEntityFactory soundEntityFactory,
                           ITerrainManager terrainManager,
                           IMapConfigManager mapConfigManager)
 {
     _soundConfigManager = soundConfigManager;
     _soundEntityFactory = soundEntityFactory;
     _playerEntity       = playerEntity;
     _soundContext       = soundContext;
     _soundConvert       = new SoundConverter(soundConfigManager,
                                              playerSoundConfigManager,
                                              terrainManager,
                                              mapConfigManager);
 }