public static PhysicsAspect Create(object owner, Vector3 position, Vector2 facing, float speed) { PhysicsAspect aspect = new PhysicsAspect(owner, position, facing, speed); aspect.RegisterAllStuff(); return aspect; }
public static PhysicsAspect Create(object owner) { PhysicsAspect aspect = new PhysicsAspect(owner); aspect.RegisterAllStuff(); return aspect; }