Package playground
Class Level4
java.lang.Object
playground.Playground
playground.SpaceInvadersLevel
playground.Level4
extends
SpaceInvadersLevel
with aliens that need two hits to be destroyed.
- Hit aliens twice to kill them
- they say AUA when not destroyed
-
Field Summary
Modifier and TypeFieldDescriptionstatic final int
constant defining the number of shots needed to destroy an enemyFields inherited from class playground.SpaceInvadersLevel
EGOSPEED, SHOTSPEED
Fields inherited from class playground.Playground
FLAGS_ALL, FLAGS_GLOBAL, FLAGS_LEVEL
-
Constructor Summary
-
Method Summary
Methods inherited from class playground.SpaceInvadersLevel
applyGameLogic, gameOver, levelFinished, preferredSizeX, preferredSizeY, prepareLevel, redrawLevel
Methods inherited from class playground.Playground
addObject, addObjectNow, collectObjects, deleteObject, deleteObjectNow, getGameTime, getGlobalFlag, getKeyEvents, getLevelFlag, getMouseEvents, getObject, getOrCreateGlobalFlag, getOrCreateLevelFlag, getSizeX, getSizeY, getTimestep, isPaused, processKeyEvents, processMouseEvents, redraw, reset, resetFlags, setGameTime, setGlobalFlag, setLevelFlag, setPaused, setTimestep, togglePause, updateObjects
-
Field Details
-
MAX_HITS
public static final int MAX_HITSconstant defining the number of shots needed to destroy an enemy- See Also:
-
-
Constructor Details
-
Level4
public Level4()
-