public static void Detected(Sense s, Enemy e)
 {
     EnemyDetected?.Invoke(s, e);
 }
Example #2
0
 private void OnEnemyDetected()
 {
     EnemyDetected?.Invoke(this, EventArgs.Empty);
 }