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.

ugameengine.h 427B

12345678910111213141516171819202122232425
  1. #ifndef UGAMEENGINE_H
  2. #define UGAMEENGINE_H
  3. #include "abstractrenderdevice.h"
  4. #include "entities/ugeentity.h"
  5. class UGameEngine : public QObject
  6. {
  7. Q_OBJECT
  8. public:
  9. UGameEngine(AbstractRenderDevice* device);
  10. virtual ~UGameEngine();
  11. void draw();
  12. public slots:
  13. void addEntity(UGEEntity* entity);
  14. protected:
  15. QList<UGEEntity*> _entitites;
  16. AbstractRenderDevice* _device;
  17. };
  18. #endif // UGAMEENGINE_H