forked from Cryz/battle_royale_sim
show players and items on the map
This commit is contained in:
@@ -25,7 +25,11 @@ class BrSimPlayer():
|
||||
### control methods
|
||||
|
||||
def get_player_coordinates(self):
|
||||
return self.coord_x. self.coord_y
|
||||
return self.coord_x, self.coord_y
|
||||
|
||||
def set_player_coordinates(self, x, y):
|
||||
self.coord_x= x
|
||||
self.coord_y= y
|
||||
|
||||
def get_name_and_stats(self):
|
||||
health= '♥️' * self.health or '☠️'
|
||||
|
||||
Reference in New Issue
Block a user