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:
@@ -15,6 +15,7 @@ using Avalonia.Threading;
|
||||
using StarterNG.Classes;
|
||||
using StarterNG.Domain;
|
||||
using StarterNG.Domain.Sceneries;
|
||||
using StarterNG.Domain.Vehicles;
|
||||
|
||||
namespace StarterNG.Views;
|
||||
|
||||
@@ -28,7 +29,7 @@ public sealed class VehicleBrowser
|
||||
private readonly Image miniPreview;
|
||||
private readonly Button addVehicleButton;
|
||||
|
||||
private readonly VehicleDatabase _db;
|
||||
private readonly VehicleCatalog _db;
|
||||
private readonly MiniTextures _minis;
|
||||
private readonly Action _openTextureBase;
|
||||
|
||||
@@ -57,7 +58,7 @@ public sealed class VehicleBrowser
|
||||
public VehicleBrowser(
|
||||
ComboBox categoryCombo, ComboBox classCombo, ListBox vehicleListBox, TextBox searchBox,
|
||||
CheckBox hideArchivalCheck, Image miniPreview, Button addVehicleButton,
|
||||
VehicleDatabase db, MiniTextures minis, Action openTextureBase)
|
||||
VehicleCatalog db, MiniTextures minis, Action openTextureBase)
|
||||
{
|
||||
this.categoryCombo = categoryCombo;
|
||||
this.classCombo = classCombo;
|
||||
|
||||
Reference in New Issue
Block a user