mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-10-29 02:57:29 +01:00
Cut the comments from the refactored code
Three survive: why AppServices is hand-wired, the cp1250 registration trap, and the IsDieselEngine note carried over from Physics.cs.
This commit is contained in:
@@ -2,20 +2,11 @@ using StarterNG.Domain.Vehicles;
|
||||
|
||||
namespace StarterNG.Application.Abstractions;
|
||||
|
||||
/// <summary>
|
||||
/// Looks up the .fiz physics of a vehicle type by model name.
|
||||
/// </summary>
|
||||
public interface IPhysicsRepository
|
||||
{
|
||||
/// <summary>Indexes the installation's .fiz files up front, off the UI thread.</summary>
|
||||
void Preload();
|
||||
|
||||
/// <summary>How many vehicle types were indexed; zero means a broken installation.</summary>
|
||||
int IndexedCount { get; }
|
||||
|
||||
/// <summary>
|
||||
/// Physics for a model name (with or without extension), or null when the
|
||||
/// installation has no .fiz for it.
|
||||
/// </summary>
|
||||
VehiclePhysics? For(string? dataFolder, string? model);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user