Exemple #1
0
 public void NotifyEvent(GameEvent _e)
 {
     if (_e is GameEventPlayerDeath)
     {
         GameEventPlayerDeath e = (GameEventPlayerDeath)_e;
         gamemode.NotifyPlayerDeath(e);
     }
     else if (_e is GameEventPlayerDamaged)
     {
         GameEventPlayerDamaged e = (GameEventPlayerDamaged)_e;
         gamemode.NotifyPlayerDamaged(e);
     }
 }