Commit Graph

7 Commits

Author SHA1 Message Date
Nicolás Ortega Froysa
88f3a5f1a5
Added malfunctioning ship.
Currently it doesn't seem to be detecting the key preses.
2018-03-25 17:47:31 +02:00
Nicolás Ortega Froysa
80113d51ff
Remove global variables.
Global variables are overall bad practice.
2018-03-25 17:14:44 +02:00
Nicolás Ortega Froysa
0faa83c162
Remove help and info from key list. 2018-03-25 17:04:14 +02:00
Nicolás Ortega Froysa
fa9a35444b
Invalid keycodes also return 0 (but print a msg in DEBUG). 2018-03-25 15:34:53 +02:00
Nicolás Ortega Froysa
d871bcec41
Implemented key_is_down() function. 2018-03-25 15:29:48 +02:00
Nicolás Ortega Froysa
ea4f4a97b6
Keyboard input added. 2018-03-25 15:22:43 +02:00
Nicolás Ortega Froysa
d57da20ec7
Created an event manager. 2018-03-25 14:53:40 +02:00