blob: 23824a70698ed369425c3c00ae02e29122837dd6 (
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
|
#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
{
///
/// A sprite is a transformable texture.
///
class Sprite
{
public:
private:
Math::Vector2<int> mPosition;
Math::Vector2<int> mOrigin;
Math::Vector2<int> mScale;
Color mColor;
};
} // namespace Graphics
} // namespace JinEngine
#endif
|