Split stage rendering and debug overlay
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user