Exemple #1
0
 public virtual void Update()
 {
     Acceleration        = new PointF((target.X - Position.X) * 0.2f, (target.Y - Position.Y) * 0.2f);
     sizeX.acceleration  = (targetSize.X - Size.X) * 0.2f;
     sizeY.acceleration  = (targetSize.Y - Size.Y) * 0.2f;
     radian.acceleration = (targetRadian - Radian) * 0.2f;
     positionX.Update();
     positionY.Update();
     sizeX.Update();
     sizeY.Update();
     radian.Update();
 }
Exemple #2
0
 public virtual void Update()
 {
     positionX.Update();
     positionY.Update();
     radius.Update();
 }