Files
XCEngine/editor/app/Features/Game/GameViewportFeature.cpp

29 lines
796 B
C++

#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