refactor: move movement logic into SpeedSystem and Entity components

This commit is contained in:
2026-07-28 10:54:13 +08:00
parent 831569cec6
commit bd1a9557a5
9 changed files with 145 additions and 100 deletions

View File

@@ -330,7 +330,7 @@ void Window::set_imgui_enabled(bool enable) {
if (m_camera) {
auto player = m_camera->player();
if (player) {
player->reset_key_status();
player->reset_input_status();
}
}
}