|
@@ -113,6 +113,15 @@ class InteriorManager(object):
|
113
|
113
|
tile_height: int,
|
114
|
114
|
invert_y: bool=True,
|
115
|
115
|
) -> PngImageFile:
|
|
116
|
+ """
|
|
117
|
+
|
|
118
|
+ :param interiors: List of list of interior tile positions
|
|
119
|
+ :param tile_width: Width of a tile
|
|
120
|
+ :param tile_height: Height of a tile
|
|
121
|
+ :param invert_y: If y reference is top left instead bottom left
|
|
122
|
+ :return: Image givan at __init__ with all tile pixels replaces by transparent
|
|
123
|
+ pixel
|
|
124
|
+ """
|
116
|
125
|
try:
|
117
|
126
|
return self._cache[self._get_interior_unique_key(interiors)]
|
118
|
127
|
except KeyError:
|