Add debug foundation

This commit is contained in:
2026-04-21 21:16:30 +02:00
parent 693f31dd50
commit cc51f4a6e8
22 changed files with 1246 additions and 12 deletions

View File

@@ -0,0 +1,44 @@
#nullable enable
namespace SideScrollerGame.Debug.Commands;
public sealed class DebugRuntimeState
{
public DebugRuntimeState(string activeDifficultyId, int seed)
{
ActiveDifficultyId = activeDifficultyId;
Seed = seed;
}
public bool OverlayVisible { get; internal set; } = true;
public bool IsPaused { get; internal set; }
public double TimeScale { get; internal set; } = 1.0;
public string ActiveDifficultyId { get; internal set; }
public int Seed { get; internal set; }
public string CurrentMarkerId { get; internal set; } = string.Empty;
public string LastSpawnedActorId { get; internal set; } = string.Empty;
public int SpawnedActorCount { get; internal set; }
public bool ShowCollisionShapes { get; internal set; }
public bool ShowGameplayBounds { get; internal set; }
public bool Invulnerable { get; internal set; }
public bool InfiniteSpecialAmmo { get; internal set; }
public bool NoEnemyFire { get; internal set; }
public int ReloadSceneRequestCount { get; internal set; }
public int RestartMissionRequestCount { get; internal set; }
public int FrameStepRequestCount { get; internal set; }
}