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.
28 lines
518 B
28 lines
518 B
package playground;
|
|
|
|
|
|
/**
|
|
* Level that creates two RectObjects moving around and if ego is hit by them game is directly lost
|
|
* (lives = 0).
|
|
*
|
|
*/
|
|
public class LevelMovingHitObjects extends SpaceInvadersLevel {
|
|
|
|
// FIXME add logger here
|
|
|
|
|
|
//FIXME add your method overrides here
|
|
|
|
|
|
|
|
/**
|
|
* "Moving Hitting Objects Level!" is the message.
|
|
*
|
|
* @return String "Moving & Hitting Objects Level!"
|
|
*/
|
|
@Override
|
|
protected String getStartupMessage() {
|
|
return "Moving & Hitting Objects Level!";
|
|
}
|
|
|
|
}
|