renamed a method

This commit is contained in:
RomulAugustus 2022-07-25 17:48:34 +03:00
parent 45b2fa4c43
commit 8d4b05b5fe

View File

@ -17,7 +17,7 @@ class GameMap:
return self.size_y
def add_player_mark(self, x, y, player):
def add_mark(self, x, y, player):
if (x <= self.max_size_x and y <= self.max_size_y) and (x >= 0 and y >= 0):
self.data[(x,y)] = player
else: