Added a method to remove marks
This commit is contained in:
parent
25930cc7fb
commit
12c6bd8022
@ -29,5 +29,9 @@ class GameMap:
|
||||
raise IndexError(errorMessage)
|
||||
|
||||
|
||||
def remove_mark(self, x, y):
|
||||
data.pop((x,y))
|
||||
|
||||
|
||||
def clear_map(self):
|
||||
self.data = {}
|
Loading…
Reference in New Issue
Block a user