Jumping is now possible with spacebar

main
Erenando 2023-03-29 14:56:12 +02:00
parent 13866edfd0
commit 4997a00be3
1 changed files with 1 additions and 1 deletions

View File

@ -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]