You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

ugeentitycube.h 490B

123456789101112131415161718192021222324252627282930
  1. #ifndef UGEENTITYCUBE_H
  2. #define UGEENTITYCUBE_H
  3. #include "ugeentity.h"
  4. class UGEEntityCube : public UGEEntity
  5. {
  6. Q_OBJECT
  7. public:
  8. explicit UGEEntityCube(QObject *parent = 0);
  9. float getSize() const;
  10. virtual void draw(AbstractRenderDevice* device);
  11. QVariant getTextureId() const;
  12. signals:
  13. public slots:
  14. void setSize(float size);
  15. void setTextureId(const QVariant &textureId);
  16. private:
  17. float _size;
  18. QVariant _textureId;
  19. };
  20. #endif // UGEENTITYCUBE_H