Hello!
I work on my project and there is one question.
I have action-game where the man shoots at the target. If i use
if((event.type == Event::KeyPressed) && (event.key.code == Keyboard::E)) Shot();
then my man shot a lot of! How can I slow down the process?
Maybe with clock help? Or should be used for the addition of one variable that stores reloading?