|
@@ -54,7 +54,7 @@ public abstract class DrawEngine {
|
|
|
}
|
|
}
|
|
|
|
|
|
|
|
public Point2D.Double getCenter(){
|
|
public Point2D.Double getCenter(){
|
|
|
- Point2D.Double center = new Point2D.Double(x + this.image.getWidth(null) / 2, y + this.image.getHeight(null)/2);
|
|
|
|
|
|
|
+ Point2D.Double center = new Point2D.Double(x + this.image.getWidth(null)*scale / 2, y + this.image.getHeight(null)*scale/2);
|
|
|
return center;
|
|
return center;
|
|
|
}
|
|
}
|
|
|
|
|
|