Пример #1
0
 private void ResetValues()
 {
     lander.RandomLanderPos();
     LanderValues.PlayerScore = 0;
     LanderValues.GameTime    = TimeSpan.Zero;
     lander.SetGameTime(TimeSpan.Zero);
     LanderValues.FuelRemaining = 100;
     LanderValues.Rotation      = 0;
     LanderValues.Velocity      = new Vector2();
     GlobalValues.ResetGame     = false;
     mapShiftPosition           = Vector2.Zero;
     LanderValues.LandedLines   = new List <Line2D>();
 }