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
R
- race - Variable in class com.dragonboatrace.screens.MainGameScreen
-
The race instance.
- Race - Class in com.dragonboatrace.tools
-
Represents a Race.
- Race(int, BoatType, int) - Constructor for class com.dragonboatrace.tools.Race
-
Creates a new race of a specified length.
- randomCollidable() - Method in class com.dragonboatrace.tools.Lane
-
Create a new random
Collidable
- randomPosition(EntityType, float, int) - Static method in class com.dragonboatrace.tools.VectorFactory
-
Returns a random position inside of a lane.
- randomWait - Variable in class com.dragonboatrace.entities.boats.ComputerBoat
-
The random amount of stamina to have before using stamina again.
- randomWaitTimes - Variable in class com.dragonboatrace.tools.Lane
-
A list of times to wait before adding a new collidable to the lane.
- reason - Variable in class com.dragonboatrace.screens.GameOverScreen
-
The reason for the game to be over.
- reason - Variable in class com.dragonboatrace.screens.RoundsScreen
-
The leaderboard to display the places of the boats in the race.
- recentCollision - Variable in class com.dragonboatrace.entities.boats.Boat
-
If there has been a recent collision.
- regenerateStamina() - Method in class com.dragonboatrace.entities.boats.Boat
-
Get the amount of stamina that will be gained for the current amount of stamina.
- render() - Method in class com.dragonboatrace.DragonBoatRace
- render(float) - Method in class com.dragonboatrace.screens.BoatSelectScreen
-
Renders the boat selection screen.
- render(float) - Method in class com.dragonboatrace.screens.DifficultySelectScreen
-
Renders the difficulty selection screen.
- render(float) - Method in class com.dragonboatrace.screens.FinalScreen
-
Renders the screen and the message to the player.
- render(float) - Method in class com.dragonboatrace.screens.GameOverScreen
-
Renders the window to show the end of the game.
- render(float) - Method in class com.dragonboatrace.screens.HelpScreen
-
Renders the window used to show the help image.
- render(float) - Method in class com.dragonboatrace.screens.MainGameScreen
-
Render the main game window.
- render(float) - Method in class com.dragonboatrace.screens.MainMenuScreen
-
Renders the main window.
- render(float) - Method in class com.dragonboatrace.screens.PauseScreen
-
Renders the screen
- render(float) - Method in class com.dragonboatrace.screens.PopupScreen
-
Rendering the screen
- render(float) - Method in class com.dragonboatrace.screens.RoundsScreen
-
Render the screen to show the leaderboard of all the boats in the round and their positions.
- render(SpriteBatch) - Method in class com.dragonboatrace.entities.boats.Boat
-
Render the boat and its lane contents.
- render(SpriteBatch) - Method in class com.dragonboatrace.entities.boats.ComputerBoat
-
Renders the boat if it is onscreen, else will render the off-screen markers at their current x value.
- render(SpriteBatch) - Method in class com.dragonboatrace.entities.boats.PlayerBoat
-
Renders the players boat with the word "Player" at the top of the lane to indicate which lane is the players.
- render(SpriteBatch) - Method in class com.dragonboatrace.entities.Button
-
Render the button on the screen.
- render(SpriteBatch) - Method in class com.dragonboatrace.entities.Entity
-
Render the entities texture.
- render(SpriteBatch) - Method in class com.dragonboatrace.entities.FinishLine
-
Render the texture at the position and specified width.
- render(SpriteBatch) - Method in class com.dragonboatrace.tools.Lane
-
Render the collidables in the lane.
- render(SpriteBatch) - Method in class com.dragonboatrace.tools.Race
-
Render the boats in the race and the player boat.
- render(SpriteBatch) - Method in class com.dragonboatrace.tools.ScrollingBackground
-
Render the background at its current y1 and y2 positions.
- replaceCollidable() - Method in class com.dragonboatrace.tools.Lane
-
Create a random time at which to add an
Collidable
to the lane. - resize(int) - Method in class com.dragonboatrace.tools.ScrollingBackground
-
Resize the background to scale with width.
- resize(int, int) - Method in class com.dragonboatrace.DragonBoatRace
- resize(int, int) - Method in class com.dragonboatrace.screens.BoatSelectScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.DifficultySelectScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.FinalScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.GameOverScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.HelpScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.MainGameScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.MainMenuScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.PauseScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.PopupScreen
- resize(int, int) - Method in class com.dragonboatrace.screens.RoundsScreen
- restore() - Method in class com.dragonboatrace.DragonBoatRace
- restore() - Method in class com.dragonboatrace.entities.boats.Boat
- restore() - Method in class com.dragonboatrace.screens.MainGameScreen
- restore() - Method in class com.dragonboatrace.screens.MainMenuScreen
-
Restores the game from the last save or notifies teh user if no such save exists.
- restore() - Static method in class com.dragonboatrace.tools.CollidableStats
- restore() - Method in class com.dragonboatrace.tools.Race
- restore() - Static method in class com.dragonboatrace.tools.Settings
- restore(String) - Method in class com.dragonboatrace.entities.Entity
- Restore() - Constructor for class com.dragonboatrace.tools.Prefs.Restore
- resume() - Method in class com.dragonboatrace.screens.BoatSelectScreen
- resume() - Method in class com.dragonboatrace.screens.DifficultySelectScreen
- resume() - Method in class com.dragonboatrace.screens.FinalScreen
- resume() - Method in class com.dragonboatrace.screens.GameOverScreen
- resume() - Method in class com.dragonboatrace.screens.HelpScreen
- resume() - Method in class com.dragonboatrace.screens.MainGameScreen
- resume() - Method in class com.dragonboatrace.screens.MainMenuScreen
- resume() - Method in class com.dragonboatrace.screens.PauseScreen
- resume() - Method in class com.dragonboatrace.screens.PopupScreen
- resume() - Method in class com.dragonboatrace.screens.RoundsScreen
- ROCK - com.dragonboatrace.entities.CollidableType
- ROCK_DAMAGE - Static variable in class com.dragonboatrace.tools.CollidableStats
- round - Variable in class com.dragonboatrace.DragonBoatRace
-
The current round.
- RoundsScreen - Class in com.dragonboatrace.screens
-
Represents the intermediary screen between rounds that shows the player their place in the previous race and waits for the user to continue on to the next round.
- RoundsScreen(DragonBoatRace, Boat, String) - Constructor for class com.dragonboatrace.screens.RoundsScreen
-
Creates a new screen to display the leaderboard from the previous round.
- run() - Method in class com.dragonboatrace.tools.CollidableTimer.RunTask
-
Runs teh Runnable, terminates timer thread.
- RUNNING - Static variable in class com.dragonboatrace.screens.MainGameScreen.State
- RunTask(Runnable) - Constructor for class com.dragonboatrace.tools.CollidableTimer.RunTask
All Classes All Packages