forked from Cryz/battle_royale_sim
define players and items coordinates to be used on the map
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user