Package horizons :: Package util :: Package loaders :: Module sqliteatlasloader :: Class SQLiteAtlasLoader
[hide private]
[frames] | no frames]

Class SQLiteAtlasLoader

source code

Loads atlases and appropriate action sets from a JSON file and a SQLite database.

Instance Methods [hide private]
 
__init__(self) source code
 
init(self)
Used to lazy init the loader
source code
 
loadResource(self, anim_id) source code
 
_get_loader(self, actionset) source code
 
load_image(self, file, actionset, action, rotation) source code
Method Details [hide private]

loadResource(self, anim_id)

source code 
Parameters:
  • anim_id - String identifier for the image, eg "as_hunter0+idle+135"