made it remember its marks
This commit is contained in:
parent
468237429e
commit
e8236a7e4a
10
Player.py
10
Player.py
@ -8,9 +8,17 @@ class Player():
|
||||
return "Player " + self.name + ': ' + "\n " + str(self.markList)
|
||||
|
||||
|
||||
def get_markList(self):
|
||||
return self.markList
|
||||
|
||||
|
||||
def get_name(self):
|
||||
return self.name
|
||||
|
||||
|
||||
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