Initial game. /JL
This commit is contained in:
19
enums.py
Normal file
19
enums.py
Normal file
@@ -0,0 +1,19 @@
|
||||
from enum import Enum
|
||||
|
||||
class BrickColor(Enum):
|
||||
White = (255, 255, 255)
|
||||
Red = (255, 0, 0)
|
||||
Green = (0, 255, 0)
|
||||
Blue = (0, 0, 255)
|
||||
Magenta = (255, 0, 255)
|
||||
Yellow = (255, 255, 0)
|
||||
Cyan = (0, 255, 255)
|
||||
|
||||
class BrickState(Enum):
|
||||
Current = 0
|
||||
Next = 1
|
||||
|
||||
class BrickDirection(Enum):
|
||||
Left = 0
|
||||
Right = 1
|
||||
Dropped = 2
|
Reference in New Issue
Block a user