private void bringPlayerBackToLifeWhenThereAreMoreLives() { this.gameTimer.Stop(); this.playerShip.Destroyed = true; if (this.playerPlayerShipFactory.IsThereAnyLives) { if (this.playerShip.Destroyed) { this.playerShip = this.playerPlayerShipFactory.UseLife(); this.addPlayerShipToGame(); this.gameTimer.Start(); } } }
private void initializePlayerShipFactory() { this.playerPlayerShipFactory = new PlayerShipFactory(3); this.playerShip = this.playerPlayerShipFactory.UseLife(); }