Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- enum PropertyType
- {
- RENDER,
- COUNT
- };
- class Property
- {
- public:
- InstanceID EntityID;
- PropertyType type;
- protected:
- Property(){};
- };
- class RenderProperty : public Property
- {
- public:
- bool visible;
- unsigned int drawPriority;
- unsigned int curFrameIndex;
- std::vector<TileTexture*> frames;
- RenderProperty():visible(false),drawPriority(0),curFrameIndex(0){type=RENDER;};
- };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement