Esempio n. 1
0
 protected void OnEnemyDown(ActorPropertiesEventArgs e)
 {
     if (EnemyDownNotification != null)
     {
         EnemyDownNotification(this, e);
     }
 }
Esempio n. 2
0
        void EnemyDown(object sender, ActorPropertiesEventArgs e)
        {
            // UI -> subtract ZombiesLeft

            // LevelManager -> Notify zombie is dead

            // LevelManager -> Notify zombie is spawned
            OnEnemyDown(e);
        }
Esempio n. 3
0
 void LiveLost(object sender, ActorPropertiesEventArgs e)
 {
     OnLiveLost();
 }
Esempio n. 4
0
 void EnemySpawned(object sender, ActorPropertiesEventArgs e)
 {
     OnEnemySpawned(e);
 }