Project rename and restructure

This commit is contained in:
Eden Kirin
2023-03-25 13:21:07 +01:00
commit 0041b7d43e
21 changed files with 1328 additions and 0 deletions

20
hopper/enums.py Normal file
View File

@ -0,0 +1,20 @@
from enum import Enum, auto
class Direction(Enum):
LEFT = "left"
RIGHT = "right"
UP = "up"
DOWN = "down"
class ObjectType(str, Enum):
NONE = auto()
OBSTACLE = auto()
PLAYER = auto()
DESTINATION = auto()
class PlayerMoveResult(Enum):
OK = auto()
DESTINATION_REACHED = auto()