Components + almost AABB
This commit is contained in:
@@ -0,0 +1,18 @@
|
||||
#ifndef Sprite_h__
|
||||
#define Sprite_h__
|
||||
|
||||
#include "Component.h"
|
||||
#include "Color.h"
|
||||
|
||||
namespace Components
|
||||
{
|
||||
|
||||
struct Sprite : Component
|
||||
{
|
||||
std::string SpriteFile;
|
||||
Color color;
|
||||
};
|
||||
REGISTER_COMPONENT("Sprite", Sprite);
|
||||
|
||||
}
|
||||
#endif // !Sprite_h__
|
||||
Reference in New Issue
Block a user