Open RavensKrag opened 10 years ago
This has a weird side effect of slightly obscuring the connection between the Component and the Entity.
Maybe that's ok, because now all Components are linked to an Entity? (before it was only Physics, which was being linked explicitly in constructor)
There's not really a pressing reason to clone components any more, because I found a better way to clone an Entity.
Not sure if this functionality is still useful or not.
Will probably wait until I have more component types. Should at least wait until the overhaul of the Style component is done. (Issue #10)
that callback method would bind the Entity to the Component, so the Component could access the Entity for whatever reason
that binding structure would make it really simple to bind cloned components onto different Entity objects