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.
32 lines
541 B
32 lines
541 B
package playground;
|
|
|
|
|
|
|
|
|
|
public class Level5 extends Level5to7{
|
|
|
|
protected static final double ENEMYSPEEDX = 160;
|
|
protected static final double ENEMYSPEEDY = 80;
|
|
protected static final int NR_ENEMIES = 5;
|
|
|
|
@Override
|
|
protected int calcNrEnemies() {
|
|
return NR_ENEMIES;
|
|
}
|
|
|
|
@Override
|
|
protected double calcEnemySpeedX() {
|
|
return ENEMYSPEEDX;
|
|
}
|
|
|
|
@Override
|
|
protected double calcEnemySpeedY() {
|
|
return ENEMYSPEEDY;
|
|
}
|
|
|
|
@Override
|
|
protected String getStartupMessage() {
|
|
return "Level5, get ready";
|
|
}
|
|
|
|
}
|