Project rename and restructure
This commit is contained in:
20
hopper/enums.py
Normal file
20
hopper/enums.py
Normal 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()
|
||||
Reference in New Issue
Block a user