Spaces:
Sleeping
Sleeping
| """ | |
| Abstract Base Class for Sprite Generation | |
| Defines the interface that all sprite generators must implement | |
| """ | |
| from abc import ABC, abstractmethod | |
| from typing import Tuple, Dict | |
| from .sprite_generator import Sprite | |
| class SpriteGeneratorBase(ABC): | |
| """Abstract base class for sprite generation pipelines""" | |
| def generate_smurf_sprites(self, color_tint: Tuple[int, int, int] = None, | |
| size_scale: float = 1.0) -> Dict[str, Sprite]: | |
| """ | |
| Generate complete smurf sprite set with all animations | |
| Args: | |
| color_tint: RGB color tuple for the character's body color | |
| size_scale: Scale factor for sprite size (1.0 = normal, 0.7 = small, etc.) | |
| Returns: | |
| Dictionary mapping animation type names to Sprite objects | |
| """ | |
| pass | |