mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
feat: add validation for badapple inputs
This commit is contained in:
@@ -2,8 +2,9 @@
|
||||
|
||||
#include "ui/managers/debug/DebugData.h"
|
||||
#include "input/InputState.h"
|
||||
|
||||
#include "scenes/base/SceneEvent.h"
|
||||
struct CoreData {
|
||||
DebugData debugData;
|
||||
InputState inputState;
|
||||
SceneType sceneType = SceneType::MainMenuScene;
|
||||
};
|
||||
@@ -31,7 +31,7 @@ bool GameApplication::initialize() {
|
||||
|
||||
|
||||
// 输入管理
|
||||
m_inputManager = std::make_unique<InputManager>(m_coreData.inputState);
|
||||
m_inputManager = std::make_unique<InputManager>(m_coreData);
|
||||
// 窗口管理
|
||||
m_windowManager = std::make_unique<WindowManager>();
|
||||
|
||||
|
||||
Reference in New Issue
Block a user