diff options
author | chai <chaifix@163.com> | 2018-12-06 13:12:29 +0800 |
---|---|---|
committer | chai <chaifix@163.com> | 2018-12-06 13:12:29 +0800 |
commit | b3712ebdf148bd8d2d31e70734a4b7923f6038f8 (patch) | |
tree | c813d158030ee33b76d7ec23fa2deaa1eb0a4e36 /src/libjin/graphics/je_sprite_sheet.h | |
parent | 17d86218e25a6c889c24822da8d7b59967babd89 (diff) |
*remove create function
Diffstat (limited to 'src/libjin/graphics/je_sprite_sheet.h')
-rw-r--r-- | src/libjin/graphics/je_sprite_sheet.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/libjin/graphics/je_sprite_sheet.h b/src/libjin/graphics/je_sprite_sheet.h index 8fee3f1..70aa5e3 100644 --- a/src/libjin/graphics/je_sprite_sheet.h +++ b/src/libjin/graphics/je_sprite_sheet.h @@ -15,6 +15,8 @@ namespace JinEngine class SpriteSheet { public: + SpriteSheet(const Graphic* graphic); + /// /// Create a new sprite in sheet. /// @@ -32,8 +34,6 @@ namespace JinEngine std::vector<Sprite*> createSprites(uint count, uint row, uint colum, uint w, uint h, float ox = 0, float oy = 0, uint offx = 0, uint offy = 0); - SpriteSheet(const Graphic* graphic); - private: const Graphic* const mGraphic; |