Skip to content

Commit 31ef2d9

Browse files
authored
Update Spaceship.pde
1 parent afafa5d commit 31ef2d9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Spaceship.pde

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ class Spaceship extends SpaceObject {
55
private long lastTime = -1;
66

77
private Spaceship() {
8-
super(new float[]{1000, 500});
8+
super(new float[]{width/2f, height/2f});
99
this.acceleration = 0;
1010
this.invincibility = millis() + 1000;
1111
}

0 commit comments

Comments
 (0)