removed color property, will be in pygame's GUI
This commit is contained in:
parent
db23a056ec
commit
521e767741
@ -1,12 +1,11 @@
|
||||
class Player():
|
||||
|
||||
def __init__(self, name, color):
|
||||
def __init__(self, name):
|
||||
self.name = name
|
||||
self.color = color
|
||||
self.markList = []
|
||||
|
||||
def __str__(self):
|
||||
return "Player " + self.name + ': ' + "Color - " + self.color + "\n " + str(self.markList)
|
||||
return "Player " + self.name + ': ' + "\n " + str(self.markList)
|
||||
|
||||
|
||||
def record_mark(self, x, y):
|
||||
|
Loading…
Reference in New Issue
Block a user