PhysicalEntity::PhysicalEntity(Game::Handle<Game::Entity> p, const Setup &s, const Game::TransformValues &tv):
Entity(p, tv),
- collider(*this, s.collider)
+ collider(this, s.collider)
{
if(!s.fixture)
- body = Game::Owned<RigidBody>(*this, s.body);
+ body = Game::Owned<RigidBody>(this, s.body);
}