Package com.takenoko.asset
Class GameAssets
java.lang.Object
com.takenoko.asset.GameAssets
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ImprovementDeck
private final IrrigationDeck
private final ObjectiveDeck
private final TileDeck
private final WeatherDice
-
Constructor Summary
ConstructorsConstructorDescriptionGameAssets
(GameAssets gameAssets) GameAssets
(WeatherDice weatherDice) GameAssets
(WeatherDice weatherDice, ImprovementDeck improvementDeck) GameAssets
(WeatherDice weatherDice, ImprovementDeck improvementDeck, TileDeck tileDeck, IrrigationDeck irrigationDeck, ObjectiveDeck objectiveDeck) GameAssets
(WeatherDice weatherDice, TileDeck tileDeck) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
Return the list of objectives for the starting deckint
hashCode()
boolean
hasObjectiveTypeInDeck
(ObjectiveType objectiveType)
-
Field Details
-
weatherDice
-
improvementDeck
-
tileDeck
-
objectiveDeck
-
irrigationDeck
-
-
Constructor Details
-
GameAssets
public GameAssets() -
GameAssets
-
GameAssets
-
GameAssets
public GameAssets(WeatherDice weatherDice, ImprovementDeck improvementDeck, TileDeck tileDeck, IrrigationDeck irrigationDeck, ObjectiveDeck objectiveDeck) -
GameAssets
-
GameAssets
-
-
Method Details
-
getWeatherDice
- Returns:
- the weather dice used by all bots
-
getImprovementDeck
- Returns:
- the improvement deck used by all bots
-
getIrrigationDeck
-
copy
-
getTileDeck
-
getObjectiveDeck
-
equals
-
hashCode
public int hashCode() -
getStarterDeck
Return the list of objectives for the starting deck- Returns:
- list of objectives
-
hasObjectiveTypeInDeck
-