1
0

define players and items coordinates to be used on the map

This commit is contained in:
andrea
2025-07-27 23:34:35 +02:00
parent a7fd66e9e4
commit 5e6816269b
4 changed files with 31 additions and 15 deletions

View File

@@ -3,7 +3,8 @@ import random as _random
class BrSimItem():
def __init__(self):
pass
self.coord_x= 0
self.coord_y= 0
def get_name(self):
return self.name
@@ -19,3 +20,6 @@ class BrSimItem():
def is_cure(self):
return False
def get_item_coordinates(self):
return self.coord_x, self.coord_y