First events commit. Contains basic event types and event loop.
Moved key bindings to the top of converter.go as package variables for easy re-binding
Moved keybindings into a map for even better clarity and extensibility.
Added converter UT. Not finished yet though.
First events commit. Contains basic event types and event loop.
Moved key bindings to the top of converter.go as package variables for easy re-binding
Moved keybindings into a map for even better clarity and extensibility.
Added converter UT. Not finished yet though.
Merge branch 'events' of github.com:DiscoViking/goBrains into events
Moved the main graphics loop into iomanager and merged with main event loop. This is because all SDL functions must happen in the same thread.£
Added some constants for entitymanager
Merge branch 'events' into entitymanager
Initial version of EM. Doesn't track food atm. Just spawns and updates creatures.
Entitymanager done for now.
Added a global interface for listening to different types of event.
Fixed a bunch of tests and tidied some stuff up.
Added in missing graphics testing file, and added main.go\!