Ok. So...
I'm using SFML 1.6, and need help with 1 small thing.
I need to limit the user (on certain things) on key presses. basically NOT allowing them to hold a key down, a 1 time key press if you will..
Also need same with mouse.
I understand this can be achieved with using Events, however my code is NOT directly inside main function, and I cannot for some reason transfer Event through a pointer into Game code, why?
I'm basically using this method
transferring events into functions through a pointer like such.
Game::Update(sf::Event * Event)
Any ideas?
Sorry if I'm not clear enough, ask and i'll clear anything up.
Please help!