Skip to content

Commit 5d5458b

Browse files
authored
Merge pull request #42 from Team-13-RLC/generate-docs
Regenerated docs
2 parents 9731ca8 + 935fbe4 commit 5d5458b

File tree

134 files changed

+55301
-6302
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

134 files changed

+55301
-6302
lines changed

core/src/com/dragonboatrace/entities/Collidable.java

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,13 +67,16 @@ public float getSpeed() {
6767

6868
/**
6969
* Invoke the effect of the collidable on the boat.
70+
*
71+
* @param boat Which boat is affected
7072
*/
7173
public void takeEffect(Boat boat) {
7274
effect.invoke(boat);
7375
}
7476

7577
/**
7678
* Is the object a powerup or an obstacle
79+
* @return true for powerup, false otherwise
7780
*/
7881
public boolean isPowerup() {
7982
return type.ordinal() >= CollidableStats.POWERUPS_START_AT_INDEX;

core/src/com/dragonboatrace/screens/DifficultySelectScreen.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,8 @@ public class DifficultySelectScreen implements Screen {
5454
/**
5555
* Creates a new screen to display the difficulty options to the player.
5656
*
57-
* @param game The instance of the {@link DragonBoatRace} game.
57+
* @param game The instance of the {@link DragonBoatRace} game.
58+
* @param boatType The boat type selected on the previous screen which is to be passed to the MainGameScreen
5859
*/
5960
public DifficultySelectScreen(DragonBoatRace game, BoatType boatType) {
6061
this.game = game;

core/src/com/dragonboatrace/tools/CollidableEffect.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
/**
66
* Functional interface, used to name the type of the stored lambda expressions,
77
* which dictate what the collidable does upon collision.
8-
* This is very similar to built in Consumer<T> interface.
8+
* This is very similar to built in Consumer<T> interface.
99
* However it does not allow the creation of a lambda taking any other parameter type.
1010
* It is also more clearly named.
1111
*/

docs/allclasses-frame.html

Lines changed: 0 additions & 41 deletions
This file was deleted.

0 commit comments

Comments
 (0)