private void OnShipCollidesWithPlayer(NewShipCollidesWithPlayerShipEventEventArgs args) { ShipCollidesWithPlayer?.Invoke(this, args); }
public void UpdateHealth(object sender, NewShipCollidesWithPlayerShipEventEventArgs args) { this.Player.Ship.Armor -= args.Demage; this.checkHealth(); }