From 85a006e7b608ce6db56be57c291934370c444a37 Mon Sep 17 00:00:00 2001 From: eichhornchen Date: Fri, 6 Nov 2020 16:38:32 +0100 Subject: [PATCH] added coordinates of camera view in map --- dungeonbattle/interfaces.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/dungeonbattle/interfaces.py b/dungeonbattle/interfaces.py index f54dd16..ee4d6a3 100644 --- a/dungeonbattle/interfaces.py +++ b/dungeonbattle/interfaces.py @@ -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