Added mouse press read

This commit is contained in:
KiritoDv
2024-12-03 16:27:54 -06:00
parent 5455478ceb
commit 9ec8b03486
+6
View File
@@ -176,6 +176,12 @@ void GameEngine::ProcessGfxCommands(Gfx* commands) {
auto pos = wnd->GetMousePos();
SPDLOG_INFO("Mouse X: {} - Y: {}", pos.x, pos.y);
for(int i = 0; i < 3; i++){
if(wnd->GetMouseState((Ship::MouseBtn) i)){
SPDLOG_INFO("Mouse button {} is pressed", i);
}
}
}
}