コード例 #1
0
 protected void OnEnemyDown(ActorPropertiesEventArgs e)
 {
     if (EnemyDownNotification != null)
     {
         EnemyDownNotification(this, e);
     }
 }
コード例 #2
0
        void EnemyDown(object sender, ActorPropertiesEventArgs e)
        {
            // UI -> subtract ZombiesLeft

            // LevelManager -> Notify zombie is dead

            // LevelManager -> Notify zombie is spawned
            OnEnemyDown(e);
        }
コード例 #3
0
 void LiveLost(object sender, ActorPropertiesEventArgs e)
 {
     OnLiveLost();
 }
コード例 #4
0
 void EnemySpawned(object sender, ActorPropertiesEventArgs e)
 {
     OnEnemySpawned(e);
 }