LibPkg
|
A class to represent a sprite within a sprite file. More...
#include <sprite_file.h>
Public Member Functions | |
sprite_info () | |
Construct sprite information record. More... | |
sprite_info (std::istream &in) | |
Construct sprite information record from stream. More... | |
~sprite_info () | |
Destroy sprite information record. More... | |
const uint32 | offset () const |
Get file offset. More... | |
const uint32 | size () const |
Get size. More... | |
const string & | name () const |
Get sprite name. More... | |
A class to represent a sprite within a sprite file.
pkg::sprite_file::sprite_info::sprite_info | ( | ) |
Construct sprite information record.
pkg::sprite_file::sprite_info::sprite_info | ( | std::istream & | in | ) |
Construct sprite information record from stream.
in | the input stream |
pkg::sprite_file::sprite_info::~sprite_info | ( | ) |
Destroy sprite information record.
|
inline |
|
inline |
|
inline |
Get sprite name.
Referenced by pkg::sprite_file::copy(), and pkg::sprite_file::sprite_file().
Reference Manual | LibPkg | Version 0.6.1 (28 Jan 2015) |