#include <spritecache.h>
Definition at line 22 of file spritecache.h.
Public Methods | |
SpriteCache () | |
Constructor. | |
~SpriteCache () | |
Destructor. | |
Surface * | Find (string n) |
Looks for a surface. | |
Private Attributes | |
vector< SpriteCacheInfo > | cache |
the data containing our cache. |
|
Constructor. Initializes an empty cache Definition at line 7 of file spritecache.cpp. |
|
Destructor. Frees all used memory Definition at line 11 of file spritecache.cpp. References cache, Graphics::freeImage(), and Graphics::UntexturizeSurface(). |
|
Looks for a surface.
Definition at line 23 of file spritecache.cpp. Referenced by Sprite::AddFrame(), and Util_parseImage(). |
|
the data containing our cache.
Definition at line 45 of file spritecache.h. Referenced by ~SpriteCache(). |