Exemple #1
0
 public void OnCollision(object sender, CollisionEvent args)
 {
     CollidedWithEntity?.Invoke(this, args);
 }
Exemple #2
0
 private void OnCollidedWithEntity(Entity obj)
 {
     CollidedWithEntity?.Invoke(obj);
 }
Exemple #3
0
        private void OnCollision(object sender, CollisionEvent e)
        {
            CollisionEvent args = e;

            CollidedWithEntity?.Invoke(this, e);
        }