refactor(editor): isolate engine service boundaries

This commit is contained in:
2026-04-29 03:19:46 +08:00
parent ef11651ec2
commit 313a571e43
60 changed files with 3804 additions and 2611 deletions

View File

@@ -0,0 +1,28 @@
#include "Game/GameViewportFeature.h"
namespace XCEngine::UI::Editor::App {
void GameViewportFeature::Shutdown() {
m_controller.SetCommandFocusService(nullptr);
}
void GameViewportFeature::ResetInteractionState() {
m_controller.ResetInteractionState();
}
void GameViewportFeature::SetCommandFocusService(
EditorCommandFocusService* commandFocusService) {
m_controller.SetCommandFocusService(commandFocusService);
}
void GameViewportFeature::Update(
const UIEditorWorkspaceComposeState& composeState,
const UIEditorWorkspaceComposeFrame& composeFrame) {
m_controller.Update(composeState, composeFrame);
}
void GameViewportFeature::Append(::XCEngine::UI::UIDrawList& drawList) const {
m_controller.Append(drawList);
}
} // namespace XCEngine::UI::Editor::App