public void Execute(IGameObject gameObject, IGameObject collidedWith) { Samus samus = (Samus)gameObject; samus.TakeDamage(collidedWith); Game1.GetLevel().Destroy(collidedWith); }
public void Execute(IGameObject gameObject, IGameObject collidedWith) { Samus samus = (Samus)gameObject; samus.TakeDamage(collidedWith); }