aboutsummaryrefslogtreecommitdiff
path: root/src/libjin/Graphics/je_sprite.h
blob: 427324045a01bb89df62f02c33236e36600de6fb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
#ifndef __JE_SPRITE_H
#define __JE_SPRITE_H

#include "../common/je_types.h"
#include "../math/je_vector2.hpp"

#include "shader/je_shader.h"
#include "je_color.h"

namespace JinEngine
{
    namespace Graphics
    {
        /// 
        /// A sprite is unit of rendering, logic and events.
        /// 
        class Sprite
	    {
        public:

        private:
            Math::Vector2<int> mPosition;
            Math::Vector2<int> mOrigin;
            Math::Vector2<int> mScale;
            Color mColor;
            const Shader* mShader;

	    };

    } // namespace Graphics
} // namespace JinEngine

#endif