public void Spawn(OnAllEnemiesDestroyedDelegate onAllEnemiesDestroyedDelegate)
 {
     _onAllEnemiesDestroyedDelegate = onAllEnemiesDestroyedDelegate;
     _boss = SpawnManager.Instance.CreateBossEnemy();
     _boss.SetDeathDelegate(OnEnemyDeath);
     _boss.enabled = false;
 }
 public void Spawn(OnAllEnemiesDestroyedDelegate onAllEnemiesDestroyedDelegate)
 {
     _enemiesController = SpawnManager.Instance.CreateEnemiesController();
     _enemiesController.SetLastEnemyDeathDelegate(onAllEnemiesDestroyedDelegate);
     _enemiesController.enabled = false;
 }
 public void SetLastEnemyDeathDelegate(OnAllEnemiesDestroyedDelegate lastEnemyDeathDelegate)
 {
     _onLastEnemyDeathDelegate = lastEnemyDeathDelegate;
 }