summaryrefslogtreecommitdiff
path: root/Source/Asura.Engine/Graphics/Sprite.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Asura.Engine/Graphics/Sprite.h')
-rw-r--r--Source/Asura.Engine/Graphics/Sprite.h71
1 files changed, 0 insertions, 71 deletions
diff --git a/Source/Asura.Engine/Graphics/Sprite.h b/Source/Asura.Engine/Graphics/Sprite.h
deleted file mode 100644
index b621f1b..0000000
--- a/Source/Asura.Engine/Graphics/Sprite.h
+++ /dev/null
@@ -1,71 +0,0 @@
-#ifndef __AE_SPRITE_H__
-#define __AE_SPRITE_H__
-
-#include "Math/Vector2.h"
-#include "Transform.h"
-#include "Component.h"
-#include "Image.h"
-
-namespace AsuraEngine
-{
- namespace Graphics
- {
-
- ///
- /// SpriteǿimageĴimagesprite乲ݣsprite𻯴imageԣתŵȡ
- ///
- class Sprite final : public Filesystem::Asset
- {
- public:
-
- enum Type
- {
-
- };
-
- ///
- /// 뷽ʽ
- ///
- enum Align
- {
-
- };
-
- struct SpriteDef
- {
- Image* image;
- Align align;
- Math::Vector2 anchor;
- Math::Vector2 size;
- };
-
- Sprite(SpriteDef definition);
- ~Sprite();
-
- private:
-
- ///
- /// ê
- ///
- Math::Vector2 mAnchor;
-
- ///
- /// С
- ///
- Math::Vector2 mSize;
-
- ///
- /// 󶨵image
- ///
- Image* mImage;
-
- //----------------------------------------------------------------------------------------------------
-
-
-
- };
-
- }
-}
-
-#endif \ No newline at end of file