0
How to us || smfl keyboard?
Hello everybody, I try for the first time the smfl lib and I try to us the condition or. I write this : If(sf::Keyboard::isKeyPressed(sf::Keyboard::Up||Down||Right||Left)) ; {... What is wrong with that?
1 Odpowiedź
+ 4
I suppose it should be like sf::Keyboard::Up || sf::Keyboard::Down etc.