[minor] (sprito.py) specified output type of SpriteIndexed.to_raw

This commit is contained in:
KikooDX 2020-04-09 19:11:30 +02:00
parent e262576cec
commit 0cfaf131ff
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ class SpriteIndexed:
if data_cell and data_cell != " ":
set_pixel(x + xoff, y + yoff, pallet[data_cell])
i += 1
def to_raw(self, pallet: dict):
def to_raw(self, pallet: dict) -> SpriteRaw:
raw_data = []
for i in range(len(self.data)):
data_cell = self.data[i]