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.
22 lines
439 B
22 lines
439 B
package playground;
|
|
|
|
import java.awt.Color;
|
|
import gameobjects.GameObject;
|
|
import gameobjects.RectObject;
|
|
|
|
|
|
public class LevelWithBox extends SpaceInvadersLevel {
|
|
|
|
@Override
|
|
protected String getStartupMessage() {
|
|
return "Box-Level!";
|
|
}
|
|
|
|
GameObject RectOb = new RectObject("Obj", null, 350, 100, 0, 0, 700, 250, Color.RED);
|
|
|
|
@Override
|
|
public void prepareLevel(String id) {
|
|
super.prepareLevel(id);
|
|
addObject(RectOb);
|
|
}
|
|
}
|