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
486 B
32 lines
486 B
package playground;
|
|
|
|
import gameobjects.GameObject;
|
|
|
|
public class Level6 extends SpaceInvadersLevel {
|
|
protected int calcNrEnemies() {
|
|
return 12;
|
|
|
|
}
|
|
|
|
protected double calcEnemySpeedX() {
|
|
return 480;
|
|
|
|
}
|
|
|
|
protected double calcEnemySpeedY() {
|
|
return 80;
|
|
|
|
}
|
|
|
|
protected String getStartupMessage() {
|
|
return "Level6, get ready";
|
|
|
|
}
|
|
|
|
void actionIfEnemyIsHit(GameObject e, GameObject shot) {
|
|
super.actionIfEnemyIsHit(e, shot);
|
|
System.out.println("AUA!!");
|
|
}
|
|
}
|
|
|
|
|