示例#1
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);
 }