Umbenennung eines Parameters

This commit is contained in:
ngb
2022-01-06 09:02:59 +01:00
parent 458d22aa24
commit 83ab156f71
2 changed files with 6 additions and 6 deletions

View File

@@ -168,17 +168,17 @@ public class Mover extends Circle implements Updatable {
}
@Override
public void draw( Graphics2D graphics, AffineTransform pVerzerrung ) {
public void draw( Graphics2D graphics, AffineTransform transform ) {
if( SHOW_VELOCITY ) {
Vector v = velocity.copy().scale(10);
Arrow ar = new Arrow(v);
AffineTransform af = new AffineTransform(pVerzerrung);
AffineTransform af = new AffineTransform(transform);
af.translate(radius, radius);
ar.draw(graphics, af);
}
super.draw(graphics, pVerzerrung);
super.draw(graphics, transform);
}
}