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,9 +16,9 @@ public:
void update() override;
void renderWorld() override; // 逻辑世界
void renderUI() override; // 屏幕 UI
void handleClick(float screenX, float screenY) override;
void handleClick(int logicalX, int logicalYY) override;
void renderMousePosition(float x, float y) override;
void renderMousePosition(int logicalX, int logicalY) override;
void restartGame();
private: