Beispiel #1
0
 /// <summary>
 /// Reset spaceship location and shooter.
 /// </summary>
 public void Reset()
 {
     SpaceshipsY       = Game.Window.ClientBounds.Height - m_SelfTexture.Height;
     m_selfLocation    = new Vector2(0, SpaceshipsY);
     m_selfLocation.X += m_spaceshipID * m_SelfTexture.Width;
     m_shooter.ClearShooter();
     if (Souls == 0)
     {
         Visible = false;
         Enabled = false;
     }
 }