[TIDY] JavaDoc
This commit is contained in:
@@ -378,10 +378,6 @@ public class Game {
|
|||||||
return level.get();
|
return level.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the player's current level property
|
|
||||||
* @return player's current level property
|
|
||||||
*/
|
|
||||||
public IntegerProperty levelProperty() {
|
public IntegerProperty levelProperty() {
|
||||||
return level;
|
return level;
|
||||||
}
|
}
|
||||||
@@ -402,10 +398,6 @@ public class Game {
|
|||||||
this.lives.set(lives);
|
this.lives.set(lives);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the player's remaining lives property
|
|
||||||
* @return player's remaining lives property
|
|
||||||
*/
|
|
||||||
public IntegerProperty livesProperty() {
|
public IntegerProperty livesProperty() {
|
||||||
return lives;
|
return lives;
|
||||||
}
|
}
|
||||||
@@ -418,10 +410,6 @@ public class Game {
|
|||||||
this.multiplier.set(multiplier);
|
this.multiplier.set(multiplier);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the player's current multiplier property
|
|
||||||
* @return player's current multiplier property
|
|
||||||
*/
|
|
||||||
public IntegerProperty multiplierProperty() {
|
public IntegerProperty multiplierProperty() {
|
||||||
return multiplier;
|
return multiplier;
|
||||||
}
|
}
|
||||||
@@ -434,10 +422,6 @@ public class Game {
|
|||||||
return score.get();
|
return score.get();
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the player's current score property
|
|
||||||
* @return player's current score property
|
|
||||||
*/
|
|
||||||
public IntegerProperty scoreProperty() {
|
public IntegerProperty scoreProperty() {
|
||||||
return score;
|
return score;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -187,22 +187,10 @@ public class MultiplayerGame extends Game {
|
|||||||
return scores;
|
return scores;
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
|
||||||
* Get the leaderboard scores property
|
|
||||||
* @return property for leaderboard scores
|
|
||||||
*/
|
|
||||||
public SimpleListProperty<Pair<String,Pair<Integer,Integer>>> leaderboardScoresProperty() {
|
public SimpleListProperty<Pair<String,Pair<Integer,Integer>>> leaderboardScoresProperty() {
|
||||||
return leaderboardScores;
|
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
|
* Notify server that player is dead
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -10,9 +10,19 @@ import uk.mgrove.ac.soton.comp1206.ui.GameWindow;
|
|||||||
*/
|
*/
|
||||||
public abstract class BaseScene {
|
public abstract class BaseScene {
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Game window scene is being displayed in
|
||||||
|
*/
|
||||||
protected final GameWindow gameWindow;
|
protected final GameWindow gameWindow;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Root node
|
||||||
|
*/
|
||||||
protected GamePane root;
|
protected GamePane root;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Current scene being displayed
|
||||||
|
*/
|
||||||
protected Scene scene;
|
protected Scene scene;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|||||||
Reference in New Issue
Block a user