added get_name()
This commit is contained in:
parent
c9b24edd8e
commit
45b2fa4c43
@ -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))
|
Loading…
Reference in New Issue
Block a user