SFML community forums

Help => Window => Topic started by: Anand on March 04, 2016, 09:13:45 pm

Title: are boolean member exa-mIsMovingUp .. usable in SFML 2.3
Post by: Anand on March 04, 2016, 09:13:45 pm
i am using sfml 2.3 along with visual studio 2015 express edition for desktop.
to check which key on the keyboard has been pressed by the user i am using four boolean members IsMovingUp ,IsMovingDown, IsMovingRight, IsMovingLeft. but on building the code it is giving an error that identifier neither declared nor defined.
so i want to know whether these boolean members are compatible with the versions of sfml and VS which i have.
or what is the alternative for this?
Title: AW: are boolean member exa-mIsMovingUp .. usable in SFML 2.3
Post by: eXpl0it3r on March 04, 2016, 10:32:31 pm
Of course you can use these names, question is if you have ever declared them?