Advertisement
Guest User

Untitled

a guest
Nov 15th, 2012
563
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 0.39 KB | None | 0 0
  1. enum PropertyType
  2. {
  3.     RENDER,
  4.     COUNT
  5. };
  6.  
  7. class Property
  8. {
  9. public:
  10.     InstanceID EntityID;
  11.     PropertyType type;
  12. protected:
  13.     Property(){};
  14. };
  15.  
  16. class RenderProperty : public Property
  17. {
  18. public:
  19.     bool visible;
  20.     unsigned int drawPriority;
  21.     unsigned int curFrameIndex;
  22.     std::vector<TileTexture*> frames;
  23.  
  24.     RenderProperty():visible(false),drawPriority(0),curFrameIndex(0){type=RENDER;};
  25. };
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement