From b3712ebdf148bd8d2d31e70734a4b7923f6038f8 Mon Sep 17 00:00:00 2001 From: chai Date: Thu, 6 Dec 2018 13:12:29 +0800 Subject: *remove create function --- src/libjin/graphics/je_sprite_sheet.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/libjin/graphics/je_sprite_sheet.h') 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 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; -- cgit v1.1-26-g67d0