Input management
Closed this issue · 1 comments
Kubic-C commented
Input detection/management within spock engine is all over the place and not well planned out.
Making a object oriented interface for input management (within the window class) is the best way to go about making a fully fledged input detector
Example below:
spk::window_t& window = spk::window();
window.is_pressed(SOME_KEY_NUM);
window.mouse_click_pos();
window.mouse_pos();
window.mouse_is_pressed(SOME_MOUSE_BUTTON_NUM);
Kubic-C commented
With the latest updates of spock engine, this feature set has been added