A B C D E F G H I J L M N O P R S T U V W X Y
All Classes All Packages
All Classes All Packages
All Classes All Packages
C
- checkCollidables() - Method in class com.dragonboatrace.entities.boats.ComputerBoat
-
Check for obstacles in the area, specified by moveArea, to move away from.
- checkCollisions() - Method in class com.dragonboatrace.entities.boats.Boat
-
Check for collisions by comparing positions of collidables in the lane to the boat position.
- close() - Static method in class com.dragonboatrace.tools.Prefs.Restore
-
Called after all other restore methods.
- close() - Static method in class com.dragonboatrace.tools.Prefs.Save
-
Setting the flag to say that the data has been writen.
- Collidable - Class in com.dragonboatrace.entities
-
Represents a Collidable.
- Collidable(CollidableType, float, int) - Constructor for class com.dragonboatrace.entities.Collidable
-
Creates a new Collidable of a specific type and bounds in which it can be created.
- COLLIDABLE_SPAWN_RATE_MAX - Static variable in class com.dragonboatrace.tools.Settings
-
Maximum time, in seconds, before the next collidable can spawn
- COLLIDABLE_SPAWN_RATE_MIN - Static variable in class com.dragonboatrace.tools.Settings
-
Minimum time, in seconds, before the next collidable can spawn
- CollidableEffect - Interface in com.dragonboatrace.tools
-
Functional interface, used to name the type of the stored lambda expressions, which dictate what the collidable does upon collision.
- collidables - Variable in class com.dragonboatrace.tools.Lane
-
A list of the collidables currently in the lane.
- CollidableStats - Class in com.dragonboatrace.tools
- CollidableStats() - Constructor for class com.dragonboatrace.tools.CollidableStats
- CollidableTimer - Class in com.dragonboatrace.tools
-
Asynchronous timer used for powerups which need to be timed out.
- CollidableTimer(float, Runnable) - Constructor for class com.dragonboatrace.tools.CollidableTimer
-
Instantiate teh timer and schedule a task to get executed.
- CollidableTimer.RunTask - Class in com.dragonboatrace.tools
-
A task class, inheriting from TimerTask.
- CollidableType - Enum in com.dragonboatrace.entities
-
Represents a type of collidable (obstacle or powerup)
- CollidableType(String, float, CollidableEffect) - Constructor for enum com.dragonboatrace.entities.CollidableType
-
Creates a new type of collidable with a given texture, base speed and an effect.
- collidesWith(Hitbox) - Method in class com.dragonboatrace.tools.Hitbox
-
Check if the hit box is colliding with another hit box.
- collisionTime - Variable in class com.dragonboatrace.entities.boats.Boat
-
Timer used to countdown for when the boat can move again after a collision.
- com.dragonboatrace - package com.dragonboatrace
- com.dragonboatrace.desktop - package com.dragonboatrace.desktop
- com.dragonboatrace.entities - package com.dragonboatrace.entities
- com.dragonboatrace.entities.boats - package com.dragonboatrace.entities.boats
- com.dragonboatrace.screens - package com.dragonboatrace.screens
- com.dragonboatrace.tools - package com.dragonboatrace.tools
- ComputerBoat - Class in com.dragonboatrace.entities.boats
-
Represents a specific Computer controlled Boat.
- ComputerBoat(BoatType, Lane, String, int) - Constructor for class com.dragonboatrace.entities.boats.ComputerBoat
-
Creates a computer boat with values from boat, in Lane lane, an identifying name and with a random speed.
- computerBoats - Variable in class com.dragonboatrace.tools.Race
-
The list of boats in the race, not including the player.
- COUNTDOWN - Static variable in class com.dragonboatrace.screens.MainGameScreen.State
- countDownRemaining - Variable in class com.dragonboatrace.screens.MainGameScreen
-
The time left on the initial countdown.
- countDownString - Variable in class com.dragonboatrace.screens.MainGameScreen
-
The String being displayed in the countdown.
- create() - Method in class com.dragonboatrace.DragonBoatRace
- currentRound - Variable in class com.dragonboatrace.screens.RoundsScreen
-
The current round of the game.
- currPos - Variable in class com.dragonboatrace.screens.HelpScreen
-
The current position of the help image in the window.
All Classes All Packages