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