Added a method to remove marks

This commit is contained in:
RomulAugustus 2022-07-25 17:50:07 +03:00
parent 25930cc7fb
commit 12c6bd8022

View File

@ -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 = {}