2
0

HelloPolycodeApp.h 410 B

123456789101112131415161718192021
  1. #include <Polycode.h>
  2. #include "PolycodeView.h"
  3. #include "Polycode3DPhysics.h"
  4. using namespace Polycode;
  5. class HelloPolycodeApp : public EventHandler {
  6. public:
  7. HelloPolycodeApp(PolycodeView *view);
  8. ~HelloPolycodeApp();
  9. bool Update();
  10. void handleEvent(Event *event);
  11. private:
  12. Core *core;
  13. ScenePrimitive *box;
  14. ScenePrimitive *bigBox;
  15. CollisionScene *scene;
  16. SceneEntity *lastEntity;
  17. };