enums and goal fixes
This commit is contained in:
parent
1d9a07a7ce
commit
1783e2bb26
@ -37,16 +37,16 @@ SCREEN = pygame.display.set_mode(
|
||||
|
||||
|
||||
class Direction(Enum):
|
||||
UP = 1
|
||||
LEFT = 2
|
||||
RIGHT = 3
|
||||
DOWN = 4
|
||||
UP = 0
|
||||
RIGHT = 1
|
||||
DOWN = 2
|
||||
LEFT = 3
|
||||
|
||||
|
||||
class Action(Enum):
|
||||
ROTATE_LEFT = 1
|
||||
ROTATE_RIGHT = 2
|
||||
GO = 3
|
||||
ROTATE_LEFT = 0
|
||||
ROTATE_RIGHT = 1
|
||||
GO = 2
|
||||
|
||||
|
||||
# =============== #
|
||||
|
@ -4,7 +4,7 @@ from typing import List, Set
|
||||
from project_constants import Direction, Action
|
||||
|
||||
# temporary goal for testing
|
||||
GOAL = (10, 10)
|
||||
GOAL = (9, 9)
|
||||
|
||||
|
||||
class State:
|
||||
|
Loading…
Reference in New Issue
Block a user