Otclient  14/8/2020
SpriteManager Class Reference

#include <spritemanager.h>

Public Member Functions

 SpriteManager ()
 
void terminate ()
 
bool loadSpr (std::string file)
 
void unload ()
 
void saveSpr (std::string fileName)
 
uint32 getSignature ()
 
int getSpritesCount ()
 
ImagePtr getSpriteImage (int id)
 
bool isLoaded ()
 

Detailed Description

Definition at line 30 of file spritemanager.h.

Constructor & Destructor Documentation

◆ SpriteManager()

SpriteManager::SpriteManager ( )

Definition at line 31 of file spritemanager.cpp.

Member Function Documentation

◆ getSignature()

uint32 SpriteManager::getSignature ( )
inline

Definition at line 47 of file spritemanager.h.

Here is the caller graph for this function:

◆ getSpriteImage()

ImagePtr SpriteManager::getSpriteImage ( int  id)

Definition at line 127 of file spritemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ getSpritesCount()

int SpriteManager::getSpritesCount ( )
inline

Definition at line 48 of file spritemanager.h.

Here is the caller graph for this function:

◆ isLoaded()

bool SpriteManager::isLoaded ( )
inline

Definition at line 51 of file spritemanager.h.

Here is the caller graph for this function:

◆ loadSpr()

bool SpriteManager::loadSpr ( std::string  file)

Definition at line 42 of file spritemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ saveSpr()

void SpriteManager::saveSpr ( std::string  fileName)

Definition at line 66 of file spritemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ terminate()

void SpriteManager::terminate ( )

Definition at line 37 of file spritemanager.cpp.

Here is the call graph for this function:
Here is the caller graph for this function:

◆ unload()

void SpriteManager::unload ( )

Definition at line 120 of file spritemanager.cpp.

Here is the caller graph for this function:

The documentation for this class was generated from the following files: