added coordinates of camera view in map
This commit is contained in:
parent
bcdbd0a471
commit
85a006e7b6
|
@ -10,6 +10,8 @@ class Map:
|
||||||
width: int
|
width: int
|
||||||
height: int
|
height: int
|
||||||
tiles: list
|
tiles: list
|
||||||
|
currentx : int #coordinates of the point that should be on the topleft corner of the screen
|
||||||
|
currenty : int
|
||||||
|
|
||||||
def __init__(self, width: int, height: int, tiles: list, entities = []):
|
def __init__(self, width: int, height: int, tiles: list, entities = []):
|
||||||
self.width = width
|
self.width = width
|
||||||
|
|
Loading…
Reference in New Issue