wip card clicking
This commit is contained in:
@@ -56,4 +56,9 @@ namespace Game
|
||||
if (!IsMouseAllowed()) return {};
|
||||
return {GetShared().Window.MouseDeltaX, GetShared().Window.MouseDeltaY};
|
||||
}
|
||||
Vec2 GetMousePos()
|
||||
{
|
||||
ImVec2 pos = ImGui::GetMousePos();
|
||||
return {pos.x, pos.y};
|
||||
}
|
||||
} // namespace Game
|
||||
|
||||
Reference in New Issue
Block a user