|
|
@ -4,18 +4,22 @@ package playground; |
|
|
|
|
|
|
|
public class Level6 extends Level5to7 { |
|
|
|
|
|
|
|
protected static final double ENEMYSPEEDX = 480; |
|
|
|
protected static final double ENEMYSPEEDY = 80; |
|
|
|
protected static final int NR_ENEMIES = 12; |
|
|
|
|
|
|
|
protected int calcNrEnemies() { |
|
|
|
return 12; |
|
|
|
return NR_ENEMIES; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected double calcEnemySpeedX() { |
|
|
|
return 480; |
|
|
|
return ENEMYSPEEDX; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|
protected double calcEnemySpeedY() { |
|
|
|
return 80; |
|
|
|
return ENEMYSPEEDY; |
|
|
|
} |
|
|
|
|
|
|
|
@Override |
|
|
|