private void HandleEnemyDie(Enemy.Enemy enemy)
 {
     AddScore(enemy.ScoreValue);
 }
 public void SetUpTarget(Enemy.Enemy targetEnemy)
 {
     this.targetEnemy = targetEnemy;
 }
 private void HandleEnemySpawn(Enemy.Enemy obj)
 {
     obj.OnDied += HandleEnemyDie;
 }
Example #4
0
 public EnemySpawnedEventArgs(Enemy.Enemy enemy)
 {
     SpawnedEnemy = enemy;
 }