You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
31 lines
532 B
31 lines
532 B
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 NR_ENEMIES;
|
|
}
|
|
|
|
@Override
|
|
protected double calcEnemySpeedX() {
|
|
return ENEMYSPEEDX;
|
|
}
|
|
|
|
@Override
|
|
protected double calcEnemySpeedY() {
|
|
return ENEMYSPEEDY;
|
|
}
|
|
|
|
@Override
|
|
protected String getStartupMessage() {
|
|
return "Level6, get ready";
|
|
}
|
|
|
|
|
|
}
|