public PlayerBulletHitHandler(
     PlayerModel model,
     Settings settings,
     AudioPlayer audioPlayer,
     PlayerSignals.Hit hitSignal)
 {
     _hitSignal = hitSignal;
     _audioPlayer = audioPlayer;
     _settings = settings;
     _model = model;
 }
示例#2
0
 public EnemyCollisionHandler(
     EnemyModel model,
     Settings settings,
     AudioPlayer audioPlayer,
     EnemySignals.Hit hitSignal)
 {
     _hitSignal = hitSignal;
     _audioPlayer = audioPlayer;
     _settings = settings;
     _model = model;
 }