mirror of
https://github.com/zhenyan121/SporeBG-Conid.git
synced 2026-04-10 06:14:08 +08:00
The calculation process has been modified, and now it is performed directly in the gameapplication class
This commit is contained in:
@@ -90,14 +90,14 @@ public:
|
||||
* @param clickOn 点击位置坐标对 {x, y}
|
||||
* @details 将点击事件转发给当前场景的 handleClick() 方法进行处理
|
||||
*/
|
||||
void handleClickCurrent(std::pair<float, float> clickOn);
|
||||
void handleClickCurrent(std::pair<int, int> clickOn);
|
||||
|
||||
/**
|
||||
* @brief 处理当前场景的鼠标位置事件
|
||||
* @param mousePosition 鼠标位置坐标对 {x, y}
|
||||
* @details 将鼠标位置事件转发给当前场景的 renderMousePosition() 方法进行处理
|
||||
*/
|
||||
void handleMousePosition(std::pair<float, float> mousePosition);
|
||||
void handleMousePosition(std::pair<int, int> mousePosition);
|
||||
|
||||
/**
|
||||
* @brief 更新当前场景
|
||||
|
||||
Reference in New Issue
Block a user