no useless parameters

This commit is contained in:
nora 2020-12-13 12:23:02 +01:00
parent e841bb4188
commit 70610c7c53
18 changed files with 27 additions and 45 deletions

View file

@ -1,6 +1,5 @@
package objects.ships;
import core.Master;
import core.math.Vector2D;
import objects.GameObject;
@ -15,7 +14,7 @@ public class Shell extends GameObject {
}
@Override
public void draw(Graphics2D g2d, int w, Master master) {
public void draw(Graphics2D g2d) {
g2d.setPaint(Color.orange);
g2d.fillOval((int) position.x, (int) position.y, (int) size.x, (int) size.y);
}