#include <ugdk/graphic/spritesheet.h>
Converts the given FixedSpritesheetData into an optimized FixedSpritesheet.
ugdk::graphic::Spritesheet::~Spritesheet |
( |
| ) |
|
|
virtual |
void ugdk::graphic::Spritesheet::Draw |
( |
int |
frame_number, |
|
|
const Vector2D & |
hotspot |
|
) |
| const |
Draws at position, a draw_size square with the given frame_number modified by mirror and both the image and given color and alpha.
size_t ugdk::graphic::Spritesheet::frame_count |
( |
| ) |
const |
|
inline |
const Vector2D & ugdk::graphic::Spritesheet::frame_size |
( |
size_t |
frame_number | ) |
const |
The documentation for this class was generated from the following files: