package playground; import java.awt.Color; import java.awt.Font; import java.awt.Graphics2D; import java.awt.Polygon; import java.awt.RenderingHints; import java.awt.font.TextAttribute; import java.awt.image.BufferedImage; import java.io.*; import java.text.AttributedString; import java.util.LinkedList; import controller.EnemyController; import controller.FallingStarController; import controller.LimitedTimeController; import controller.ObjectController; import controller.EgoController; import controller.CollisionAwareEgoController; import gameobjects.AnimatedGameobject; import gameobjects.FallingStar; import gameobjects.GameObject; import gameobjects.EgoObject; import gameobjects.TextObject; import org.apache.logging.log4j.Logger; import org.apache.logging.log4j.LogManager; public class Level7 extends SpaceInvadersLevelAua { protected static final double ENEMYSPEEDX = 800; protected static final double ENEMYSPEEDY = 140; protected static final int NR_ENEMIES = 21; @Override protected String getStartupMessage() { return "Level7, get ready!"; } @Override protected double calcEnemySpeedX() { return Level7.ENEMYSPEEDX; } @Override protected double calcEnemySpeedY() { return Level7.ENEMYSPEEDY; } @Override protected int calcNrEnemies() { return Level7.NR_ENEMIES; } }