NotQuiteParadise2

nqp.resource_controllers package

Submodules

nqp.resource_controllers.image_resource_controller module

class ImageResourceController(image_folders: List[str])[source]

Bases: nqp.base_classes.resource_controller.ResourceController

Controls lazy loading for images

Initialize the super class without using weakref to avoid reloading images that don’t always keep references in the Scene and would need to reload many times. It’d be better to use weakref but that would require images to be manually referenced at the Scene to keep them from having to reload.

__init__(image_folders: List[str])[source]

Initialize the super class without using weakref to avoid reloading images that don’t always keep references in the Scene and would need to reload many times. It’d be better to use weakref but that would require images to be manually referenced at the Scene to keep them from having to reload.

Module contents