BsCFixedJointRTTI.h 919 B

123456789101112131415161718192021222324252627282930313233343536373839404142
  1. //********************************** Banshee Engine (www.banshee3d.com) **************************************************//
  2. //**************** Copyright (c) 2016 Marko Pintera ([email protected]). All rights reserved. **********************//
  3. #pragma once
  4. #include "BsCorePrerequisites.h"
  5. #include "BsRTTIType.h"
  6. #include "BsCFixedJoint.h"
  7. #include "BsGameObjectRTTI.h"
  8. namespace BansheeEngine
  9. {
  10. /** @cond RTTI */
  11. /** @addtogroup RTTI-Impl-Core
  12. * @{
  13. */
  14. class BS_CORE_EXPORT CFixedJointRTTI : public RTTIType<CFixedJoint, CJoint, CFixedJointRTTI>
  15. {
  16. public:
  17. CFixedJointRTTI()
  18. { }
  19. const String& getRTTIName() override
  20. {
  21. static String name = "CFixedJoint";
  22. return name;
  23. }
  24. UINT32 getRTTIId() override
  25. {
  26. return TID_CFixedJoint;
  27. }
  28. SPtr<IReflectable> newRTTIObject() override
  29. {
  30. return GameObjectRTTI::createGameObject<CFixedJoint>();
  31. }
  32. };
  33. /** @} */
  34. /** @endcond */
  35. }