Added a method to remove marks
This commit is contained in:
1 parent
25930cc7fb
commit
12c6bd8022
1 file changed
+4
@@ -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 = {}
|
||||
Reference in new issue
Block a user