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_texture.h | 17 ++++++++++++++--- 1 file changed, 14 insertions(+), 3 deletions(-) (limited to 'src/libjin/graphics/je_texture.h') diff --git a/src/libjin/graphics/je_texture.h b/src/libjin/graphics/je_texture.h index 8e667f1..94e7a01 100644 --- a/src/libjin/graphics/je_texture.h +++ b/src/libjin/graphics/je_texture.h @@ -20,6 +20,7 @@ namespace JinEngine class Texture : public Graphic { public: +/* /// /// /// @@ -34,17 +35,27 @@ namespace JinEngine /// /// static Texture* createTexture(); +*/ /// /// /// - ~Texture(); + Texture(); + + /// + /// + /// + Texture(const char* path); - private: /// /// /// - Texture(const Bitmap* bitmap); + Texture(const Bitmap* bitmap); + + /// + /// + /// + ~Texture(); }; -- cgit v1.1-26-g67d0