Index
All Classes and Interfaces|All Packages|Constant Field Values
C
- calcEnemyShotProb() - Method in class playground.LevelBoss
- calcEnemyShotProb() - Method in class playground.SpaceInvadersLevel
-
calculates and returns the probability that an enemy shots.
- calcEnemySpeedX() - Method in class playground.Level5
- calcEnemySpeedX() - Method in class playground.Level6
- calcEnemySpeedX() - Method in class playground.Level7
- calcEnemySpeedX() - Method in class playground.LevelBoss
- calcEnemySpeedX() - Method in class playground.SpaceInvadersLevel
-
returns a number representing the speed of an enemy object in X direction (pixels/second)
- calcEnemySpeedY() - Method in class playground.Level5
- calcEnemySpeedY() - Method in class playground.Level6
- calcEnemySpeedY() - Method in class playground.Level7
- calcEnemySpeedY() - Method in class playground.LevelBoss
- calcEnemySpeedY() - Method in class playground.SpaceInvadersLevel
-
returns a number representing the speed of an enemy object in Y direction (pixels/second)
- calcNrBricksX() - Method in class playground.BreakoutLevel2
- calcNrBricksX() - Method in class playground.BreakoutLevelBaseAdvanced
-
provides the number of bricks to be set in horizontal direction.
- calcNrBricksY() - Method in class playground.BreakoutLevel2
- calcNrBricksY() - Method in class playground.BreakoutLevelBaseAdvanced
-
provides the number of bricks to be set in vertical direction.
- calcNrCollect() - Method in class playground.SpaceInvadersLevel
-
returns the maximum number of collectables' instances (which are created at level start)
- calcNrEnemies() - Method in class playground.Level5
- calcNrEnemies() - Method in class playground.Level6
- calcNrEnemies() - Method in class playground.Level7
- calcNrEnemies() - Method in class playground.LevelBoss
- calcNrEnemies() - Method in class playground.LevelHitTwice
- calcNrEnemies() - Method in class playground.SpaceInvadersLevel
-
returns the maximum number of enemy instances (which are created at level start)
- canvasX - Variable in class playground.Playground
- CANVASX - Static variable in class playground.SpaceInvadersLevel
- canvasY - Variable in class playground.Playground
- CANVASY - Static variable in class playground.SpaceInvadersLevel
- checkCollisionCircCirc(Collider) - Method in class collider.CircleCollider
-
calculates the collission of this with other collider
- checkCollisionRectCirc(Collider) - Method in class collider.RectCollider
-
checks collision with other Collider, which needs to be a CircleCollider
- checkCollisionRectRect(Collider) - Method in class collider.RectCollider
-
checks collision with other Collider, which needs to be a RectCollider, too.
- CircleArtist - Class in rendering
- CircleArtist(GameObject) - Constructor for class rendering.CircleArtist
- CircleArtist(GameObject, double, Color) - Constructor for class rendering.CircleArtist
- CircleCollider - Class in collider
-
Collider for round objects
- CircleCollider(String, GameObject, double) - Constructor for class collider.CircleCollider
-
Constructor which sets the radius to be respected for collisions.
- closeFile() - Method in class playground.HighscoreManager
- collectObjects(String, boolean) - Method in class playground.Playground
-
Puts objects with a certain substring in their name into a LinkedLisrt and returns them.
- collider - package collider
-
The package contains classes implementing a 'bounding box' area around game objects.
- Collider - Class in collider
-
abstract base class for all Colliders to detect collisions between GameObjects
- Collider(String, GameObject) - Constructor for class collider.Collider
- collidesWith(Collider) - Method in class collider.CircleCollider
- collidesWith(Collider) - Method in class collider.Collider
-
checks the collission with another collider instance.
- collidesWith(Collider) - Method in class collider.RectCollider
- CollisionAwareEgoController - Class in controller
-
An EgoController which cannot move through obstacle objects (is collission aware).
- CollisionAwareEgoController(double) - Constructor for class controller.CollisionAwareEgoController
- CollisionAwareEgoController(double, File) - Constructor for class controller.CollisionAwareEgoController
- collisionDetection(GameObject) - Method in class gameobjects.GameObject
-
Collision detection implemented by iteration through the own list of
Collider
and calling theirCollider.collidesWith(Collider)
method to check collision with the given parameter instance of otherGameObject
. - color - Variable in class rendering.CircleArtist
- color - Variable in class rendering.RectArtist
- controller - package controller
-
The controller package contains Object controllers that govern an objects behavior, without being involved in its collision or drawing properties.
- controller - Variable in class collider.Collider
-
the ObjectController to the corresponding GameObject (can be null)
- createBall() - Method in class playground.BreakoutLevel0
- createBall() - Method in class playground.BreakoutLevel1
-
This method creates a new ball.
- createBall() - Method in class playground.BreakoutLevel2
- createBall() - Method in class playground.BreakoutLevelBase
-
Creates the ball object and returns it, called by #prepareLevel.
- createBrick(int, int) - Method in class playground.BreakoutLevel0
-
creates one brick.
- createBrick(int, int) - Method in class playground.BreakoutLevel1
-
This method creates a new brick.
- createBrick(int, int) - Method in class playground.BreakoutLevel2
- createBrick(int, int) - Method in class playground.BreakoutLevelBase
-
Creates the GameObject (RectObject) instance representing a single brick at a certain grid position.
- createCollectables() - Method in class playground.SpaceInvadersLevel
- createEgoObject() - Method in class playground.BreakoutLevel0
- createEgoObject() - Method in class playground.BreakoutLevel1
-
This method creates a new RectObject.
- createEgoObject() - Method in class playground.BreakoutLevel2
- createEgoObject() - Method in class playground.BreakoutLevelBase
-
Creates the ego object and returns it, called by
BreakoutLevelBase.prepareLevel(java.lang.String)
. - createEgoObject() - Method in class playground.SpaceInvadersLevel
- createEnemies() - Method in class playground.SpaceInvadersLevel
- createEnemyController() - Method in class playground.SpaceInvadersLevel
- createEnemyShot(GameObject) - Method in class playground.SpaceInvadersLevel
- createEnemyShotObject(GameObject, String, ObjectController) - Method in class playground.LevelBoss
- createEnemyShotObject(GameObject, String, ObjectController) - Method in class playground.SpaceInvadersLevel
- createExplosion(double, GameObject, String, double, Color) - Method in class playground.SpaceInvadersLevel
- createSingleCollect(String) - Method in class playground.SpaceInvadersLevel
- createSingleEnemy(String, double, double, double, double, ObjectController, double) - Method in class playground.Level3
- createSingleEnemy(String, double, double, double, double, ObjectController, double) - Method in class playground.LevelBoss
- createSingleEnemy(String, double, double, double, double, ObjectController, double) - Method in class playground.SpaceInvadersLevel
- createStars() - Method in class playground.SpaceInvadersLevel
All Classes and Interfaces|All Packages|Constant Field Values