made members of enum better
This commit is contained in:
parent
28ef132944
commit
331c475c2a
@ -2,8 +2,8 @@ from logic.position import Position
|
||||
|
||||
|
||||
class Piece:
|
||||
WHITE = 0
|
||||
BLACK = 1
|
||||
WHITE = "white"
|
||||
BLACK = "black"
|
||||
|
||||
def __init__(self, pos, colour) -> None:
|
||||
self.pos = pos
|
||||
|
Loading…
x
Reference in New Issue
Block a user