made it remember its marks
This commit is contained in:
parent
468237429e
commit
e8236a7e4a
@ -8,9 +8,17 @@ class Player():
|
|||||||
return "Player " + self.name + ': ' + "\n " + str(self.markList)
|
return "Player " + self.name + ': ' + "\n " + str(self.markList)
|
||||||
|
|
||||||
|
|
||||||
|
def get_markList(self):
|
||||||
|
return self.markList
|
||||||
|
|
||||||
|
|
||||||
def get_name(self):
|
def get_name(self):
|
||||||
return self.name
|
return self.name
|
||||||
|
|
||||||
|
|
||||||
def add_mark(self, x, y):
|
def add_mark(self, x, y):
|
||||||
self.markList.append((x, y))
|
self.markList.append((x, y))
|
||||||
|
|
||||||
|
|
||||||
|
def clear_mark_list():
|
||||||
|
self.markList = []
|
Loading…
Reference in New Issue
Block a user