added coordinates of camera view in map
This commit is contained in:
		@@ -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
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user