18 lines
244 B
C++
18 lines
244 B
C++
#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__
|