Spaces:
Sleeping
Sleeping
File size: 874 Bytes
82fa936 |
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 |
"""
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"""
@abstractmethod
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
|