Working on time and input

This commit is contained in:
2022-10-27 23:38:04 -07:00
parent 942de96e16
commit 37eaa706b7
16 changed files with 196 additions and 18 deletions

View File

@ -56,6 +56,11 @@ int32_t DawnHost::init(DawnGame &game) {
DAWN_GLFW_WINDOW_HEIGHT_DEFAULT
);
// Default keybinds
game.inputManager.bind(INPUT_BIND_ACCEPT, GLFW_KEY_ENTER);
game.inputManager.bind(INPUT_BIND_ACCEPT, GLFW_KEY_E);
game.inputManager.bind(INPUT_BIND_ACCEPT, GLFW_KEY_SPACE);
// Initialize the game
auto result = game.init();
if(result != DAWN_GAME_INIT_RESULT_SUCCESS) return result;