From 066e5987c515dfc34537d73ca9d2a81ddd1f9e1b Mon Sep 17 00:00:00 2001 From: chai Date: Sun, 21 Oct 2018 13:37:27 +0800 Subject: =?UTF-8?q?*=E6=B3=A8=E9=87=8A?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/libjin/Graphics/je_sprite.h | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'src/libjin/Graphics/je_sprite.h') diff --git a/src/libjin/Graphics/je_sprite.h b/src/libjin/Graphics/je_sprite.h index 9c3f7a2..23824a7 100644 --- a/src/libjin/Graphics/je_sprite.h +++ b/src/libjin/Graphics/je_sprite.h @@ -1,6 +1,10 @@ #ifndef __JE_SPRITE_H #define __JE_SPRITE_H +#include "je_color.h" +#include "../common/je_types.h" +#include "../math/je_vector2.hpp" + namespace JinEngine { namespace Graphics @@ -11,10 +15,16 @@ namespace JinEngine class Sprite { public: - + + private: + Math::Vector2 mPosition; + Math::Vector2 mOrigin; + Math::Vector2 mScale; + Color mColor; + }; - } -} + } // namespace Graphics +} // namespace JinEngine #endif \ No newline at end of file -- cgit v1.1-26-g67d0