Hum, I don't even need the 2 last functions.
just a GetCursorPos([...]) call and a check with if.

but it is dependent and its not good OOP to do so.
How could you do this in a more modularized way ?

This makes me think of collision handling with sprites, how do they do that with good OOP...