I cant get user input without a window,
because I have to use
while(window.pollEvent(event))
{
switch(event.type)
{}
}
So, is there any way for me too get user input without a window?
I didn't understand can I like get a pseudo code?
You'd have to keep an array of what keys are pressed
Like in an array?
so do we do it like this :
if(array.at(array.size()) == sf::Keyboard::K)
{
// Do stuff //
}
is it like that? or