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