예제 #1
0
 public Collidable(PhysicsObject pho, DrawingObject dro, CollideMode shape)
     : base(pho, dro)
 {
     physobj.shape = shape;
     physobj.size = Drawing.scale * (int)drawobj.cent.X;
 }
예제 #2
0
 public Collidable(PhysicsObject pho, DrawingObject dro, CollideMode shape)
     : base(pho, dro)
 {
     physobj.shape = shape;
     physobj.size  = Drawing.scale * (int)drawobj.cent.X;
 }