FIX::More CS errors

This commit is contained in:
Merel Steenbergen
2019-04-05 19:20:09 +02:00
parent 02253cb645
commit 47c46b5458
2 changed files with 5 additions and 2 deletions

View File

@@ -79,8 +79,8 @@ public class Hints {
}
/**
* This method returns an arbitrary String.
* @return the random hint.
* This seeks out a random hint from the list of strings.
* @return the random string hint.
*/
public String randomHint() {
Random rand = new Random();

View File

@@ -426,6 +426,9 @@ public class DashBoardController {
calcStage.show();
}
/**
* This method adds a random hint to the GUI.
*/
public void addRandomHints() {
FadeTransition fadeOut = new FadeTransition(Duration.millis(400), hintText);
fadeOut.setFromValue(1.0);