SpriteScheduler(cat_args, cat_sprites, background, display_surface, eventHandlerClass) -> new SpriteScheduler component.
Manages updating and blitting a collection of pygame sprites. Instantiates an event handler object to handle dispatching of events from pygame.
Keyword arguments: - cat_args -- arguments for event handler class instantiation - cat_sprites -- Pygame sprite objects to be rendered - background -- Pygame surface to be rendered as a background image - display_surface -- Pygame surface to render sprites onto - eventHandlerClass -- Event handler class, with method: dispatch(event,source)
Warning! You should be using the inbox/outbox interface, not these methods (except construction). This documentation is designed as a roadmap as to their functionalilty for maintainers and new component developers. |