[TIDY] JavaDoc

This commit is contained in:
2023-04-24 12:11:49 +01:00
parent fc6816f8fe
commit 3529d89bc7
3 changed files with 10 additions and 28 deletions

View File

@@ -378,10 +378,6 @@ public class Game {
return level.get();
}
/**
* Get the player's current level property
* @return player's current level property
*/
public IntegerProperty levelProperty() {
return level;
}
@@ -402,10 +398,6 @@ public class Game {
this.lives.set(lives);
}
/**
* Get the player's remaining lives property
* @return player's remaining lives property
*/
public IntegerProperty livesProperty() {
return lives;
}
@@ -418,10 +410,6 @@ public class Game {
this.multiplier.set(multiplier);
}
/**
* Get the player's current multiplier property
* @return player's current multiplier property
*/
public IntegerProperty multiplierProperty() {
return multiplier;
}
@@ -434,10 +422,6 @@ public class Game {
return score.get();
}
/**
* Get the player's current score property
* @return player's current score property
*/
public IntegerProperty scoreProperty() {
return score;
}

View File

@@ -187,22 +187,10 @@ public class MultiplayerGame extends Game {
return scores;
}
/**
* Get the leaderboard scores property
* @return property for leaderboard scores
*/
public SimpleListProperty<Pair<String,Pair<Integer,Integer>>> leaderboardScoresProperty() {
return leaderboardScores;
}
/**
* Get the player boards property
* @return property for player boards
*/
public SimpleMapProperty<String, SimpleIntegerProperty[][]> playerBoardsProperty() {
return playerBoards;
}
/**
* Notify server that player is dead
*/

View File

@@ -10,9 +10,19 @@ import uk.mgrove.ac.soton.comp1206.ui.GameWindow;
*/
public abstract class BaseScene {
/**
* Game window scene is being displayed in
*/
protected final GameWindow gameWindow;
/**
* Root node
*/
protected GamePane root;
/**
* Current scene being displayed
*/
protected Scene scene;
/**