mirror of
https://github.com/Noratrieb/Java2DGame.git
synced 2026-01-14 22:15:01 +01:00
no useless parameters
This commit is contained in:
parent
e841bb4188
commit
70610c7c53
18 changed files with 27 additions and 45 deletions
|
|
@ -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);
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue