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