Split stage rendering and debug overlay

This commit is contained in:
2026-06-09 00:39:15 +08:00
parent ce815ed58b
commit cc75b94c44
9 changed files with 199 additions and 47 deletions
+20
View File
@@ -0,0 +1,20 @@
#pragma once
#include "../core/debug_flags.h"
#include "../data/level_definition.h"
#include <frostbite2D/types/type_math.h>
namespace ns_game {
class DebugOverlay {
public:
void Render(const LevelDefinition& level, const DebugFlags& flags,
const frostbite2D::Rect* playerBounds) const;
private:
void drawCollision(const LevelDefinition& level) const;
void drawActorBounds(const frostbite2D::Rect& bounds) const;
};
} // namespace ns_game