mirror of
https://github.com/MaSzyna-EU07/StarterNG.git
synced 2026-11-19 15:02:15 +01:00
Move rolling stock and physics into the domain
VehicleDatabase becomes VehicleCatalog, Physics becomes VehiclePhysics, and the textures.txt and .fiz parsers move to Infrastructure. GameLibrary replaces the GameData singleton.
This commit is contained in:
@@ -9,6 +9,8 @@ using Avalonia.Media;
|
||||
using StarterNG.Classes;
|
||||
using StarterNG.Domain;
|
||||
using StarterNG.Infrastructure;
|
||||
using StarterNG.Domain.Vehicles;
|
||||
using StarterNG.Application;
|
||||
|
||||
namespace StarterNG.Views;
|
||||
|
||||
@@ -19,7 +21,7 @@ public sealed class RulesWindow : Window
|
||||
private readonly WrapPanel _members = new() { Orientation = Orientation.Horizontal };
|
||||
private readonly ComboBox _category = new();
|
||||
private readonly ComboBox _model = new();
|
||||
private readonly VehicleDatabase _db = GameData.Instance.Vehicles;
|
||||
private readonly VehicleCatalog _db = AppServices.Current.Library.Vehicles;
|
||||
|
||||
public RulesWindow()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user