diff --git a/sprito.py b/sprito.py index 6d19578..d1468df 100644 --- a/sprito.py +++ b/sprito.py @@ -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]