| 123456789101112131415161718192021222324 |
- $#include "Drawable2D.h"
- enum BlendMode {};
- const float PIXEL_SIZE;
- class Drawable2D : public Drawable
- {
- public:
- void SetSprite(Sprite2D* sprite);
- void SetMaterial(Material* material);
- void SetBlendMode(BlendMode mode);
- void SetZValue(float zValue);
- Sprite2D* GetSprite() const;
- Material* GetMaterial() const;
- BlendMode GetBlendMode() const;
- float GetZValue() const;
- tolua_property__get_set Sprite2D* sprite;
- tolua_property__get_set Material* material;
- tolua_property__get_set BlendMode blendMode;
- tolua_property__get_set float zValue;
- };
|