Working on time and input

This commit is contained in:
YourWishes committed 2022-10-27 23:38:04 -07:00
1 parent 942de96e16
commit 37eaa706b7
16 files changed
+196 -18

No files matched your search

+5
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;