Implement live game clock and simulation controls; enhance API with clock update functionality and improve world summary with clock data; update UI to display simulation controls and integrate clock features into the game experience.
This commit is contained in:
@@ -2,6 +2,7 @@ using System.IO.Compression;
|
||||
using Microsoft.AspNetCore.ResponseCompression;
|
||||
using TheLivingWorld.Api.Endpoints;
|
||||
using TheLivingWorld.Api.Generation;
|
||||
using TheLivingWorld.Api.Simulation;
|
||||
using TheLivingWorld.Api.Storage;
|
||||
using TheLivingWorld.Core.Contracts;
|
||||
using TheLivingWorld.Core.Export;
|
||||
@@ -35,6 +36,8 @@ builder.Services.PostConfigure<OsmOptions>(options =>
|
||||
|
||||
builder.Services.AddSingleton<WorldStore>();
|
||||
builder.Services.AddSingleton<ChunkExporter>();
|
||||
builder.Services.AddSingleton<WorldSimulationHost>();
|
||||
builder.Services.AddHostedService(provider => provider.GetRequiredService<WorldSimulationHost>());
|
||||
builder.Services.AddSingleton<WorldGenerationService>();
|
||||
|
||||
// Geometry payloads are highly repetitive JSON and compress by roughly an order of magnitude.
|
||||
|
||||
Reference in New Issue
Block a user