added get_name()

This commit is contained in:
RomulAugustus 2022-07-25 17:47:19 +03:00
parent c9b24edd8e
commit 45b2fa4c43

View File

@ -8,5 +8,9 @@ class Player():
return "Player " + self.name + ': ' + "\n " + str(self.markList) return "Player " + self.name + ': ' + "\n " + str(self.markList)
def get_name(self):
return self.name
def record_mark(self, x, y): def record_mark(self, x, y):
self.markList.append((x, y)) self.markList.append((x, y))