1
Window / Input usage out of scope
« on: August 18, 2008, 08:46:52 pm »
So I guess what I was getting at is that this is something that's meant only to be declared in scope. Declaring the standalone input variable within any function that needs it.
Basically, calling the line sf::Input &Input = App.GetInput(); at some point in the beginning of any function that would like to use it. Is that about right?
Basically, calling the line sf::Input &Input = App.GetInput(); at some point in the beginning of any function that would like to use it. Is that about right?