Package com.takenoko.asset
Class GameAssets
java.lang.Object
com.takenoko.asset.GameAssets
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final ImprovementDeckprivate final IrrigationDeckprivate final ObjectiveDeckprivate final TileDeckprivate 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()booleanReturn the list of objectives for the starting deckinthashCode()booleanhasObjectiveTypeInDeck(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
-