Пример #1
0
 public void Construct(
     Enemy enemy, EnemyTunables tunables,
     EnemyDeathHandler deathHandler)
 {
     _enemy        = enemy;
     _tunables     = tunables;
     _deathHandler = deathHandler;
 }
Пример #2
0
 public void Construct(
     Enemy enemy, EnemyTunables tunables,
     EnemyDeathHandler deathHandler,
     EnemyStateManager stateManager)
 {
     _enemy        = enemy;
     _tunables     = tunables;
     _deathHandler = deathHandler;
     _stateManager = stateManager;
 }
 public void Construct(
     EnemyView view,
     EnemyTunables tunables,
     EnemyDeathHandler deathHandler,
     EnemyStateManager stateManager,
     EnemyRegistry registry)
 {
     _view         = view;
     _tunables     = tunables;
     _deathHandler = deathHandler;
     _stateManager = stateManager;
     _registry     = registry;
 }