diff options
Diffstat (limited to 'src/libjin/Graphics/je_sprite_sheet.h')
-rw-r--r-- | src/libjin/Graphics/je_sprite_sheet.h | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/src/libjin/Graphics/je_sprite_sheet.h b/src/libjin/Graphics/je_sprite_sheet.h new file mode 100644 index 0000000..8c56c51 --- /dev/null +++ b/src/libjin/Graphics/je_sprite_sheet.h @@ -0,0 +1,33 @@ +#ifndef __JE_SPRITE_SHEET_H__ +#define __JE_SPRITE_SHEET_H__ + +#include <vector> + +#include "../math/je_quad.h" + +#include "je_sprite.h" + +namespace JinEngine +{ + namespace Graphics + { + + class SpriteSheet + { + public: + /// + /// Create a new sprite in sheet. + /// + Sprite* createSprite(const Math::Quad& quad); + + SpriteSheet(const Graphic* graphic); + + private: + const Graphic* const mGraphic; + + }; + + } // namespace Graphics +} // namespace JinEngine + +#endif
\ No newline at end of file |