diff --git a/src/platform.cpp b/src/platform.cpp index 703ecae..78ac61b 100644 --- a/src/platform.cpp +++ b/src/platform.cpp @@ -74,10 +74,4 @@ namespace cloonel { void Platform::OnRegister (Mover& parMover, Mover::PlaceableTicketType parParentTicket) { parMover.RegisterPlaceable(m_collisionTop.get(), parParentTicket); } - - ///-------------------------------------------------------------------------- - ///-------------------------------------------------------------------------- - void Platform::RegisterForCollision (ColliderRegisterFunc parReg) { - parReg(m_collisionTop.get()); - } } //namespace cloonel diff --git a/src/platform.hpp b/src/platform.hpp index fc52d5d..9d7c267 100644 --- a/src/platform.hpp +++ b/src/platform.hpp @@ -43,8 +43,6 @@ namespace cloonel { float2 BottomRight ( void ) const { return TopLeft() + m_size; } const HorzCollisionBar* TopCollisionBar ( void ) const { return m_collisionTop.get(); } - void RegisterForCollision ( ColliderRegisterFunc parReg ); - //Overrides virtual void Draw ( void ) const; virtual void OnRegister ( Mover& parMover, Mover::PlaceableTicketType parParentTicket );