Physics2D: Fix some last stuffs

This commit is contained in:
Lynix
2019-03-26 22:01:10 +01:00
parent ae20ad6b65
commit 4821eb14a7
7 changed files with 33 additions and 19 deletions

View File

@@ -52,13 +52,13 @@ namespace Ndk
return *this;
}
/*!
* \brief Gets the static body used by the entity
* \return A pointer to the entity
*/
inline Nz::RigidBody2D* CollisionComponent2D::GetStaticBody()
{
return m_staticBody.get();
}
inline const Nz::RigidBody2D* CollisionComponent2D::GetStaticBody() const
{
return m_staticBody.get();
}
}