Unify stage prop layers

This commit is contained in:
2026-06-09 15:08:17 +08:00
parent cf7b7dfb5a
commit 0a59d20ffa
7 changed files with 30 additions and 17 deletions
+1
View File
@@ -52,6 +52,7 @@ bool WhiteboxScene::OnEvent(const frostbite2D::Event& event) {
void WhiteboxScene::Render() {
stageRenderer_.Render(level_, debugFlags_);
frostbite2D::Scene::Render();
stageRenderer_.RenderForeground(level_);
const frostbite2D::Rect playerBounds =
player_ ? player_->GetWorldBounds() : frostbite2D::Rect::Zero();
const std::vector<BattleZoneDebugInfo> battleZoneDebug =