Package com.takenoko.weather
Class WeatherDice
java.lang.Object
com.takenoko.weather.Dice
com.takenoko.weather.WeatherDice
Implementation of the WeatherDice of the game, it has 6 sides and each side is a weather.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionRoll the dice to get a Weather
-
Constructor Details
-
WeatherDice
public WeatherDice()Default Constructor -
WeatherDice
Specify the Random Generator- Parameters:
random
- random number generator
-
-
Method Details
-
rollWeather
Roll the dice to get a Weather- Returns:
- the result of the roll
-
peekWeather
-