public void OnEnemyShipDeath(IEventSender sender, EnemyShipDeathEvent ev) { if (ev.ship == finalShip) { this.Send(new GameWonEvent()); } }
public void OnEnemyShipDeath(IEventSender sender, EnemyShipDeathEvent ev) { score += ev.ship.scoreGain; this.Send(new ScoreChangedEvent(score)); }
public void OnEnemyShipDeath(IEventSender sender, EnemyShipDeathEvent ev) { PlayExplosionSoundEffect(); }