protected void OnEnemyDown(ActorPropertiesEventArgs e) { if (EnemyDownNotification != null) { EnemyDownNotification(this, e); } }
void EnemyDown(object sender, ActorPropertiesEventArgs e) { // UI -> subtract ZombiesLeft // LevelManager -> Notify zombie is dead // LevelManager -> Notify zombie is spawned OnEnemyDown(e); }
void LiveLost(object sender, ActorPropertiesEventArgs e) { OnLiveLost(); }
void EnemySpawned(object sender, ActorPropertiesEventArgs e) { OnEnemySpawned(e); }