The calculation process has been modified, and now it is performed directly in the gameapplication class

This commit is contained in:
2025-12-24 14:01:25 +08:00
parent cefe4a37b7
commit e8c6cee046
15 changed files with 54 additions and 56 deletions

View File

@@ -16,13 +16,13 @@ public:
// 收集渲染数据
void CollectRenderData();
void UpdateMousePositon(float x, float y);
void updateMousePositon(int logicalX, int logicalY);
void updateActionType(ActionType type);
void updateGameState(GameState state);
bool handleClick(float x, float y);
bool handleClick(int logicalX, int logicalY);
private:
std::function<void()> m_restartCallback;
void setupUIComponents();