added coordinates of camera view in map

This commit is contained in:
eichhornchen 2020-11-06 16:38:32 +01:00
parent bcdbd0a471
commit 85a006e7b6
1 changed files with 2 additions and 0 deletions

View File

@ -10,6 +10,8 @@ class Map:
width: int
height: int
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 = []):
self.width = width