BsDbgTestGameObjectRef.h 998 B

1234567891011121314151617181920212223242526272829303132333435363738
  1. #pragma once
  2. #include "BsPrerequisites.h"
  3. #include "BsComponent.h"
  4. namespace BansheeEngine
  5. {
  6. class DbgTestGameObjectRef : public Component
  7. {
  8. public:
  9. HRenderable mRenderable;
  10. /************************************************************************/
  11. /* COMPONENT OVERRIDES */
  12. /************************************************************************/
  13. protected:
  14. friend class SceneObject;
  15. /** Standard constructor.
  16. */
  17. DbgTestGameObjectRef(const HSceneObject& parent);
  18. public:
  19. virtual void update() {}
  20. /************************************************************************/
  21. /* RTTI */
  22. /************************************************************************/
  23. public:
  24. friend class DbgTestGameObjectRefRTTI;
  25. static RTTITypeBase* getRTTIStatic();
  26. virtual RTTITypeBase* getRTTI() const;
  27. protected:
  28. DbgTestGameObjectRef() {} // Serialization only
  29. };
  30. }