public void SetEntity(Entity e) { this.e = e; body = e.GetComponent<SPShared.ECS.Components.PhysicsBody> (); }
public void SetEntity(Entity e) { this.e = e; body = e.GetComponent <SPShared.ECS.Components.PhysicsBody> (); }
public void AddBody(ECS.Components.PhysicsBody body) { world.AddBody(body.Body); }