removed color property, will be in pygame's GUI

This commit is contained in:
RomulAugustus 2022-07-25 16:53:56 +03:00
parent db23a056ec
commit 521e767741

View File

@ -1,12 +1,11 @@
class Player(): class Player():
def __init__(self, name, color): def __init__(self, name):
self.name = name self.name = name
self.color = color
self.markList = [] self.markList = []
def __str__(self): 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): def record_mark(self, x, y):