Add Map.bounds

This commit is contained in:
Eryn Wells 2023-02-12 19:45:12 -08:00
parent 0a6ff23dcd
commit 402e910915

View file

@ -42,6 +42,11 @@ class Map:
self.__walkable_points = None
@property
def bounds(self) -> Rect:
'''The bounds of the map'''
return Rect(Point(), self.size)
@property
def size(self) -> Size:
'''The size of the map'''