20 lines
375 B
Python
20 lines
375 B
Python
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)
|
|
Black = (0, 0, 0)
|
|
|
|
class BrickState(Enum):
|
|
Current = 0
|
|
Next = 1
|
|
|
|
class BrickDirection(Enum):
|
|
Left = 0
|
|
Right = 1
|
|
Dropped = 2 |