renamed a method
This commit is contained in:
parent
45b2fa4c43
commit
8d4b05b5fe
@ -17,7 +17,7 @@ class GameMap:
|
|||||||
return self.size_y
|
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):
|
if (x <= self.max_size_x and y <= self.max_size_y) and (x >= 0 and y >= 0):
|
||||||
self.data[(x,y)] = player
|
self.data[(x,y)] = player
|
||||||
else:
|
else:
|
||||||
|
Loading…
Reference in New Issue
Block a user