public PhysicBody(Rectangle bounds, CollisionTypes type)
 {
     Bounds  = bounds;
     Type    = type;
     Sensors = new PhysicSensorCollection(this);
 }
示例#2
0
 public PhysicWorld()
 {
     Bodies  = new PhysicBodyCollection(this);
     Sensors = new PhysicSensorCollection(this);
 }
 public PhysicBody(Rectangle bounds)
 {
     Bounds  = bounds;
     Sensors = new PhysicSensorCollection(this);
 }