sf::Input Input;
sf::Input &rInput = Input;
TowerManager TowerManager;
sf::Event Event;
int mouseX;
int mouseY;
// Start game loop
while (App.IsOpened())
{
mouseX = Input.GetMouseX();
mouseY = Input.GetMouseY();
That's just a fragment of a code, obviously, but the point's still there. When I output mouseX and mouseY (through cout), it says that they're zero. And the function I need to use them for confirms this; it also outputs zero.
Is this just a bug in the code, or am I doing something really stupid?