Use the new tree-based registration system in the mover.
This commit is contained in:
parent
61f0c28983
commit
9c660caec6
7 changed files with 45 additions and 16 deletions
|
@ -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 );
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue