PolySceneEntity.h 730 B

123456789101112131415161718192021222324252627282930313233343536373839
  1. /*
  2. * PolySceneEntity.h
  3. * TAU
  4. *
  5. * Created by Ivan Safrin on 3/18/08.
  6. * Copyright 2008 __MyCompanyName__. All rights reserved.
  7. *
  8. */
  9. // @package Scene
  10. #pragma once
  11. #include "PolyString.h"
  12. #include "PolyLogger.h"
  13. #include "PolyGlobals.h"
  14. #include "PolyRenderer.h"
  15. #include "PolyVector3.h"
  16. #include "PolyMatrix4.h"
  17. #include "PolyQuaternion.h"
  18. #include "PolyEntity.h"
  19. #include "PolyEventHandler.h"
  20. #include <vector>
  21. using std::vector;
  22. namespace Polycode {
  23. class _PolyExport SceneEntity : public Entity, public EventHandler {
  24. public:
  25. SceneEntity();
  26. virtual ~SceneEntity();
  27. virtual bool testMouseCollision(Number x, Number y) { return false;}
  28. void ok() { Logger::log("ok!!1\n"); }
  29. protected:
  30. };
  31. }