Untold Engine  Beta v0.0.16
docs
U4DEngine::U4DSpriteLoader Class Reference

The U4DSpriteLoader class is in charge of loading sprite information. More...

Public Member Functions

 U4DSpriteLoader ()
 Constructor for the sprite loader.
 
 ~U4DSpriteLoader ()
 Destructor for the sprite loader.
 
void loadSpritesAssetFile (std::string uSpriteAtlasFile, std::string uSpriteAtlasImage)
 Method which loads the sprite file into the engine. More...
 
void loadSprites ()
 Method which loads sprite information.
 

Public Attributes

std::vector< SPRITEDATAspriteData
 Vector containing sprite data.
 
std::string spriteAtlasImage
 Name of the image atlas containing the sprite images.
 
float spriteAtlasWidth
 Sprite atlas image width.
 
float spriteAtlasHeight
 Sprite atlas image height.
 

Detailed Description

The U4DSpriteLoader class is in charge of loading sprite information.

Member Function Documentation

◆ loadSpritesAssetFile()

void U4DEngine::U4DSpriteLoader::loadSpritesAssetFile ( std::string  uSpriteAtlasFile,
std::string  uSpriteAtlasImage 
)

Method which loads the sprite file into the engine.

Parameters
uSpriteAtlasFileSprite Atlas file name
uSpriteAtlasImageSprite Atlas image name