Use the new tree-based registration system in the mover.

This commit is contained in:
King_DuckZ 2014-07-10 20:00:54 +02:00
parent 61f0c28983
commit 9c660caec6
7 changed files with 45 additions and 16 deletions

View file

@ -21,14 +21,14 @@
#define id703E4B8DFFF747DFA97864384B87E9C1
#include "vector.hpp"
#include "mover.hpp"
namespace cloonel {
class Mover;
class Placeable {
public:
float2 GetPos ( void ) const noexcept;
void AddOffset ( const float2& parOffset ) noexcept;
virtual void OnRegister ( Mover& parMover, Mover::PlaceableTicketType parParentTicket );
protected:
explicit Placeable ( float2 parPos );