From 8d4b05b5feca41e6f504c912c014fc405269be6d Mon Sep 17 00:00:00 2001 From: RomulAugustus <87079566+RomulAugustus@users.noreply.github.com> Date: Mon, 25 Jul 2022 17:48:34 +0300 Subject: [PATCH] renamed a method --- GameMap.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/GameMap.py b/GameMap.py index 3ef0d3d..15f6a14 100644 --- a/GameMap.py +++ b/GameMap.py @@ -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: