Index
All Classes and Interfaces|All Packages|Constant Field Values
A
- AboutFrame - Class in ui
-
Creates a JFrame with a short text about the creators of the game code.
- AboutFrame() - Constructor for class ui.AboutFrame
- aboutItem - Variable in class ui.GameUI
- ACTION_ABOUT - Static variable in class ui.GameUI
- ACTION_BUTTON - Static variable in class ui.GameUI
- ACTION_LOAD - Static variable in class ui.GameUI
- ACTION_NEW - Static variable in class ui.GameUI
- ACTION_PAUSE - Static variable in class ui.GameUI
- ACTION_QUIT - Static variable in class ui.GameUI
- ACTION_RESET - Static variable in class ui.GameUI
- ACTION_SAVE - Static variable in class ui.GameUI
- actionIfBallHitsBrick(GameObject, GameObject) - Method in class playground.BreakoutLevel0
-
lets ball bounce in Y direction, deletes brick.
- actionIfBallHitsBrick(GameObject, GameObject) - Method in class playground.BreakoutLevel1
-
This method defines the behavior when the ball hits a brick.
- actionIfBallHitsBrick(GameObject, GameObject) - Method in class playground.BreakoutLevel2
- actionIfBallHitsBrick(GameObject, GameObject) - Method in class playground.BreakoutLevel3
- actionIfBallHitsBrick(GameObject, GameObject) - Method in class playground.BreakoutLevelBase
-
Method that gets called by applyGameLogic() whenever the ball collides with a brick.
- actionIfBallHitsEgo(GameObject, GameObject) - Method in class playground.BreakoutLevel0
-
Let the ball bounce off in Y direction.
- actionIfBallHitsEgo(GameObject, GameObject) - Method in class playground.BreakoutLevel1
-
This method defines the behavior when the ball hits the EgoObject.
- actionIfBallHitsEgo(GameObject, GameObject) - Method in class playground.BreakoutLevel2
- actionIfBallHitsEgo(GameObject, GameObject) - Method in class playground.BreakoutLevelBase
-
Method that gets called by applyGameLogic() whenever the ball collides with the ego object.
- actionIfEgoCollidesWithCollect(GameObject, GameObject) - Method in class playground.SpaceInvadersLevel
-
implements game behavior if ego object of player touches a collectable
GameObject
. - actionIfEgoCollidesWithEnemy(GameObject, GameObject) - Method in class playground.LevelMovingHitObjects
- actionIfEgoCollidesWithEnemy(GameObject, GameObject) - Method in class playground.SpaceInvadersLevel
-
implements behaviour of game when ego object is touching an enemy.
- actionIfEgoObjectIsHit(GameObject, GameObject) - Method in class playground.SpaceInvadersLevel
-
implements what happens if the eog object of player is hit by a shot.
- actionIfEnemyIsHit(GameObject, GameObject) - Method in class playground.Level4
- actionIfEnemyIsHit(GameObject, GameObject) - Method in class playground.Level5to7
- actionIfEnemyIsHit(GameObject, GameObject) - Method in class playground.LevelBoss
- actionIfEnemyIsHit(GameObject, GameObject) - Method in class playground.LevelHitTwice
- actionIfEnemyIsHit(GameObject, GameObject) - Method in class playground.SpaceInvadersLevel
-
implements game behavior if an enemy object is hit by a players' shot.
- actionPerformed(ActionEvent) - Method in class ui.GameUI
-
interface implementation of ActionListener to respond to GUI element actions.
- active - Variable in class gameobjects.GameObject
- addables - Variable in class playground.Playground
- addArtist(Artist) - Method in class gameobjects.GameObject
-
Sets the artist to be used for drawing the object onto visible canvas area.
- addCollider(Collider) - Method in class gameobjects.GameObject
-
saves the collider in the internal list of Colliders to be used for this GameObject.
- addController(ObjectController) - Method in class gameobjects.GameObject
-
Sets the controller to use for this GameObject's logical behavior.
- addLevel(Playground) - Method in class base.GameLoop
-
Adds the given level instance to the end of the currently already stored list of levels to play.
- addObject(GameObject) - Method in class playground.Playground
-
Adds a graphics object to a level.
- addObjectNow(GameObject) - Method in class playground.Playground
-
Adds a graphics object to a level.
- alienImage - Variable in class playground.SpaceInvadersLevel
- alienshowTime - Variable in class playground.SpaceInvadersLevel
- animArtist - Variable in class gameobjects.AnimatedGameobject
- AnimatedGameobject - Class in gameobjects
- AnimatedGameobject(String, Playground, double, double, double, double, double, Animation, double, String) - Constructor for class gameobjects.AnimatedGameobject
- Animation - Class in playground
- Animation(String) - Constructor for class playground.Animation
- AnimationArtist - Class in rendering
- AnimationArtist(GameObject, Animation, double, String, double) - Constructor for class rendering.AnimationArtist
- applyGameLogic() - Method in class playground.BreakoutLevel3
- applyGameLogic() - Method in class playground.BreakoutLevelBase
-
checks for interactions between GameObjects; notably ball with ego and ball with brick.
- applyGameLogic() - Method in class playground.Playground
-
Method meant to be filled with own code, handles the entore game logic (collision checks, timed events, ...).
- applyGameLogic() - Method in class playground.SpaceInvadersLevel
-
applies the logic of the level: For now, this is just about deleting shots that are leaving the screen and calling methods 'actionIf..' in case objects collide.
- applySpeedVector() - Method in class controller.ObjectController
-
Convenience method: simply moves the object forward one step from its present position, using its present speed.
- artist - Variable in class gameobjects.GameObject
- Artist - Class in rendering
- Artist(GameObject) - Constructor for class rendering.Artist
All Classes and Interfaces|All Packages|Constant Field Values