diff --git a/project/ui_elements/KeyManager.py b/project/ui_elements/KeyManager.py index dc4a2c6..892b396 100644 --- a/project/ui_elements/KeyManager.py +++ b/project/ui_elements/KeyManager.py @@ -5,7 +5,7 @@ from pygame.event import Event class KeyManager: KEY_LEFT: list[int] = [pygame.K_LEFT, pygame.K_a] KEY_RIGHT: list[int] = [pygame.K_RIGHT, pygame.K_d] - KEY_UP: list[int] = [pygame.K_UP, pygame.K_w] + KEY_UP: list[int] = [pygame.K_UP, pygame.K_w, pygame.K_SPACE] KEY_DOWN: list[int] = [pygame.K_DOWN, pygame.K_s] KEY_SPACE: list[int] = [pygame.K_SPACE] KEY_ESCAPE: list[int] = [pygame.K_ESCAPE]