diff options
Diffstat (limited to 'src/resources/resourcemanager.h')
-rw-r--r-- | src/resources/resourcemanager.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/src/resources/resourcemanager.h b/src/resources/resourcemanager.h index a5a66901..6ebcd590 100644 --- a/src/resources/resourcemanager.h +++ b/src/resources/resourcemanager.h @@ -32,6 +32,7 @@ class Resource; class Image; class Music; class SoundEffect; +class Spriteset; /** * A class for loading and managing resources. @@ -138,6 +139,12 @@ class ResourceManager getSoundEffect(const std::string &idPath); /** + * Creates a spriteset based on the image referenced by the given + * path and the supplied sprite sizes + */ + Spriteset* createSpriteset(const std::string &imagePath, int w, int h); + + /** * Releases a resource, removing it from the set of loaded resources. */ void |