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