Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- ACHIEVED - Enum constant in enum class com.takenoko.objective.ObjectiveState
- achievedObjectives - Variable in class com.takenoko.engine.ObjectiveManager
- action - Variable in record class com.takenoko.engine.HistoryItem
-
The field for the
action
record component. - action() - Method in record class com.takenoko.engine.HistoryItem
-
Returns the value of the
action
record component. - Action - Interface in com.takenoko.actions
-
Action interface.
- ActionAnnotation - Annotation Interface in com.takenoko.actions.annotations
-
Annotation to define the type of action lifetime.
- actionAverage(String) - Method in class com.takenoko.stats.GameProgressStatistics
- ActionCanBePlayedMultipleTimesPerTurn - Annotation Interface in com.takenoko.actions.annotations
-
Defines if the action can be played multiple times per turn.
- actionManager - Variable in class com.takenoko.engine.BotState
- ActionManager - Class in com.takenoko.engine
-
This class is used to manage the actions of a bot.
- ActionManager() - Constructor for class com.takenoko.engine.ActionManager
- ActionManager(int, List<Class<? extends Action>>) - Constructor for class com.takenoko.engine.ActionManager
- ActionManager(ActionManager) - Constructor for class com.takenoko.engine.ActionManager
- actionPercentage(String) - Method in class com.takenoko.stats.GameProgressStatistics
- ActionResult - Record Class in com.takenoko.actions
-
This class represents the result of an action.
- ActionResult() - Constructor for record class com.takenoko.actions.ActionResult
- ActionResult(int) - Constructor for record class com.takenoko.actions.ActionResult
- ActionResult(List<Class<? extends Action>>) - Constructor for record class com.takenoko.actions.ActionResult
- ActionResult(List<Class<? extends Action>>, int) - Constructor for record class com.takenoko.actions.ActionResult
-
Creates an instance of a
ActionResult
record class. - actions - Variable in class com.takenoko.stats.GameProgressStatistics
- actions - Variable in class com.takenoko.stats.SingleBotStatistics
- ActionType - Enum Class in com.takenoko.actions.annotations
-
Types of actions that can be performed.
- ActionType() - Constructor for enum class com.takenoko.actions.annotations.ActionType
- Actor - Class in com.takenoko.actors
- Actor(PositionVector) - Constructor for class com.takenoko.actors.Actor
- add(PriorityBot) - Method in class com.takenoko.bot.PriorityBot
- add(Vector) - Method in class com.takenoko.vector.Vector
-
Add two vectors.
- addAction() - Method in class com.takenoko.engine.ActionManager
-
add an action to the number of actions to plau this turn
- addAction() - Method in class com.takenoko.engine.BotManager
- addAction() - Method in class com.takenoko.engine.BotState
-
add an action to the number of actions to plau this turn
- addActionWithPriority(Action, double) - Method in class com.takenoko.bot.PriorityBot
- addAvailableAction(Class<? extends Action>) - Method in class com.takenoko.engine.ActionManager
-
add an action to the list of available actions
- addAvailableAction(Class<? extends Action>) - Method in class com.takenoko.engine.BotState
-
add an action to the list of available actions
- addAvailableActions(List<Class<? extends Action>>) - Method in class com.takenoko.engine.ActionManager
-
add a list of actions to the list of available actions
- addBotManager(BotManager) - Method in class com.takenoko.engine.History
- addBotManager(BotManager) - Method in class com.takenoko.engine.Scoreboard
- addBotManager(BotManager) - Method in class com.takenoko.stats.BotStatistics
- addBotManager(List<BotManager>) - Method in class com.takenoko.engine.Scoreboard
- addBotManagers(List<BotManager>) - Method in class com.takenoko.stats.BotStatistics
- addObjective(Objective) - Method in class com.takenoko.engine.BotManager
- addObjective(Objective) - Method in class com.takenoko.engine.BotState
-
Set the current Objective of the bot
- addObjective(Objective) - Method in class com.takenoko.engine.ObjectiveManager
-
Set the current Objective of the bot
- addStatistics(BotStatistics) - Method in class com.takenoko.stats.BotCSVExporter
- addStatistics(SingleBotStatistics) - Method in class com.takenoko.stats.SingleBotStatistics
- addTurnHistory(BotManager, TurnHistory) - Method in class com.takenoko.engine.History
- addWithAffine(PriorityBot, double, double) - Method in class com.takenoko.bot.PriorityBot
-
This method is used to add a bot with Affine function offset
- addWithLinear(PriorityBot, double) - Method in class com.takenoko.bot.PriorityBot
-
This method is used to add a bot with a Linear function offset
- addWithOffset(PriorityBot, double) - Method in class com.takenoko.bot.PriorityBot
-
This method is used to add a bot with an offset
- addWithSquash(PriorityBot, double, double) - Method in class com.takenoko.bot.PriorityBot
-
This method is used to add a bot and squash the priority between two numbers
- afterMove(Board) - Method in class com.takenoko.actors.Actor
- afterMove(Board) - Method in class com.takenoko.actors.Gardener
- afterMove(Board) - Method in class com.takenoko.actors.Panda
-
After the panda moves, he can eat bamboo if there is bamboo on the tile he moved to.
- allPatternObjectivesAreCompleted(BotState) - Method in class com.takenoko.bot.unitary.SmartPlaceIrrigation
-
Check if any of the pattern objectives are completed
- alreadyDoneActions - Variable in class com.takenoko.engine.ActionManager
- analyze() - Method in class com.takenoko.engine.Board
- analyzeBoard(Board) - Method in class com.takenoko.stats.BoardStatistics
- analyzeBoardToFindPlaceToCompleteShapeOfPatternObjective(Board, BotState) - Method in class com.takenoko.bot.unitary.SmartPattern
- analyzeIrrigationToPlaceToCompletePatternObjective(Board, BotState) - Method in class com.takenoko.bot.unitary.SmartPlaceIrrigation
-
This method will add the edge position to the irrigationToPlace list so that the bot knows that he has to place them in order to complete is pattern objectiv
- analyzeObjectivesToRedeem(BotState, History) - Method in class com.takenoko.bot.unitary.SmartObjective
- analyzeRushPanda(History) - Static method in class com.takenoko.bot.utils.HistoryAnalysis
- analyzeRushPanda(History, double) - Static method in class com.takenoko.bot.utils.HistoryAnalysis
-
Analyse the history and determine the bots which are using the Rush Panda strategy.
- ANY - Enum constant in enum class com.takenoko.layers.tile.ImprovementType
- ANY - Enum constant in enum class com.takenoko.layers.tile.TileColor
- apply(Board, BotManager) - Method in class com.takenoko.weather.Cloudy
- apply(Board, BotManager) - Method in class com.takenoko.weather.QuestionMark
- apply(Board, BotManager) - Method in class com.takenoko.weather.Rainy
- apply(Board, BotManager) - Method in class com.takenoko.weather.Stormy
- apply(Board, BotManager) - Method in class com.takenoko.weather.Sunny
- apply(Board, BotManager) - Method in class com.takenoko.weather.Weather
-
Code to be executed when the weather is rolled and modifiers applied.
- apply(Board, BotManager) - Method in class com.takenoko.weather.Windy
- applyImprovement(ImprovementType, PositionVector) - Method in class com.takenoko.engine.Board
- applyImprovement(ImprovementType, PositionVector, Board) - Method in class com.takenoko.layers.tile.TileLayer
- ApplyImprovementAction - Class in com.takenoko.actions.improvement
-
Action to draw an improvement from the inventory.
- ApplyImprovementAction(PositionVector) - Constructor for class com.takenoko.actions.improvement.ApplyImprovementAction
- ApplyImprovementFromInventoryAction - Class in com.takenoko.actions.improvement
-
Action to apply an improvement from the inventory.
- ApplyImprovementFromInventoryAction(ImprovementType, PositionVector) - Constructor for class com.takenoko.actions.improvement.ApplyImprovementFromInventoryAction
- applyWeather - Variable in class com.takenoko.actions.weather.ChooseIfApplyWeatherAction
- ARBITRARY_MARGIN - Static variable in class com.takenoko.bot.unitary.SmartObjective
- availableActions - Variable in record class com.takenoko.actions.ActionResult
-
The field for the
availableActions
record component. - availableActions - Variable in class com.takenoko.engine.ActionManager
- availableActions() - Method in record class com.takenoko.actions.ActionResult
-
Returns the value of the
availableActions
record component. - availableEdgePositions - Variable in class com.takenoko.layers.irrigation.IrrigationLayer
- availableTilePositions - Variable in class com.takenoko.layers.tile.TileLayer
B
- bamboo - Variable in class com.takenoko.layers.bamboo.BambooLayer
- bambooCount - Variable in class com.takenoko.layers.bamboo.BambooStack
- bambooCounter - Variable in class com.takenoko.stats.SingleBotStatistics
- bambooLayer - Variable in class com.takenoko.engine.Board
- BambooLayer - Class in com.takenoko.layers.bamboo
-
BambooLayer class.
- BambooLayer() - Constructor for class com.takenoko.layers.bamboo.BambooLayer
-
Constructor for the BambooLayer class.
- BambooLayer(BambooLayer) - Constructor for class com.takenoko.layers.bamboo.BambooLayer
- BambooStack - Class in com.takenoko.layers.bamboo
- BambooStack(int) - Constructor for class com.takenoko.layers.bamboo.BambooStack
- BambooStack(BambooStack) - Constructor for class com.takenoko.layers.bamboo.BambooStack
- bambooStacks - Variable in class com.takenoko.inventory.Inventory
- bambooTarget - Variable in class com.takenoko.objective.PandaObjective
- board - Variable in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
The field for the
board
record component. - board - Variable in class com.takenoko.engine.GameEngine
- board() - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Returns the value of the
board
record component. - Board - Class in com.takenoko.engine
-
Board class.
- Board() - Constructor for class com.takenoko.engine.Board
-
Constructor for the Board class.
- Board(Board) - Constructor for class com.takenoko.engine.Board
- Board(TileLayer, BambooLayer, Panda, Gardener, GameAssets, IrrigationLayer, BoardStatistics) - Constructor for class com.takenoko.engine.Board
-
Constructor for the Board class.
- boardStatistics - Variable in class com.takenoko.engine.Board
- BoardStatistics - Class in com.takenoko.stats
- BoardStatistics() - Constructor for class com.takenoko.stats.BoardStatistics
- BoardStatistics(BoardStatistics) - Constructor for class com.takenoko.stats.BoardStatistics
- BoardStatistics(Map<TileColor, Integer>, Map<ImprovementType, Integer>, float, float) - Constructor for class com.takenoko.stats.BoardStatistics
- bot - Variable in class com.takenoko.engine.BotManager
- Bot - Interface in com.takenoko.bot
-
The Bot interface will allow the class implementing it to interact with the game and play.
- BotCSVExporter - Class in com.takenoko.stats
- BotCSVExporter(String) - Constructor for class com.takenoko.stats.BotCSVExporter
- BotManager - Class in com.takenoko.engine
-
This class is used to manage one bot.
- BotManager() - Constructor for class com.takenoko.engine.BotManager
-
Default constructor for the class
- BotManager(Bot) - Constructor for class com.takenoko.engine.BotManager
-
Constructor for the class but this time specifying which bot algorithm must be used
- BotManager(Bot, String) - Constructor for class com.takenoko.engine.BotManager
- BotManager(ConsoleUserInterface, String, Bot, BotState, SingleBotStatistics) - Constructor for class com.takenoko.engine.BotManager
-
Constructor for the class
- botManagers - Variable in class com.takenoko.engine.GameEngine
- botsData - Variable in class com.takenoko.stats.BotCSVExporter
- botState - Variable in class com.takenoko.engine.BotManager
- BotState - Class in com.takenoko.engine
-
This class is used to store the state of a bot.
- BotState() - Constructor for class com.takenoko.engine.BotState
- BotState(BotState) - Constructor for class com.takenoko.engine.BotState
-
Copy constructor
- BotState(Inventory, ObjectiveManager, ActionManager) - Constructor for class com.takenoko.engine.BotState
- botStatistics - Variable in class com.takenoko.engine.GameEngine
- BotStatistics - Class in com.takenoko.stats
-
This class stores extended statistics for each BotManager
- BotStatistics() - Constructor for class com.takenoko.stats.BotStatistics
C
- cache - Variable in class com.takenoko.shape.Pattern
- calculateHCost(Board, List<PositionVector>, EdgePosition) - Static method in class com.takenoko.bot.utils.pathfinding.irrigation.IrrigationPathFinding
- calculatePriority(Map.Entry<PatternObjective, List<Shape>>, Shape) - Static method in class com.takenoko.bot.unitary.SmartPattern
- canBePlayed(Board) - Static method in class com.takenoko.actions.actors.MoveGardenerAction
- canBePlayed(Board) - Static method in class com.takenoko.actions.actors.MovePandaAction
- canBePlayed(Board) - Static method in class com.takenoko.actions.irrigation.DrawIrrigationAction
- canBePlayed(Board) - Static method in class com.takenoko.actions.tile.DrawTileAction
- canBePlayed(Board, BotState) - Static method in class com.takenoko.actions.improvement.ApplyImprovementFromInventoryAction
- canBePlayed(Board, BotState) - Static method in class com.takenoko.actions.irrigation.PlaceIrrigationFromInventoryAction
- canBePlayed(Board, BotState) - Static method in class com.takenoko.actions.objective.DrawObjectiveAction
- canBePlayed(Board, BotState, Class<? extends DefaultAction>) - Static method in interface com.takenoko.actions.DefaultAction
- canBePlayed(BotState) - Static method in class com.takenoko.actions.objective.RedeemObjectiveAction
- canPeek - Variable in class com.takenoko.asset.TileDeck
- canPlayBot() - Method in class com.takenoko.engine.BotManager
- choose(Tile) - Method in class com.takenoko.asset.TileDeck
-
Choose what tile to place on the board.
- chooseAction(Board, BotState, History) - Method in interface com.takenoko.bot.Bot
-
This method will allow the player to choose an action to execute.
- chooseAction(Board, BotState, History) - Method in class com.takenoko.bot.FullRandomBot
- chooseAction(Board, BotState, History) - Method in class com.takenoko.bot.PriorityBot
- ChooseAndApplyWeatherAction - Class in com.takenoko.actions.weather
-
Action to choose a weather and apply it.
- ChooseAndApplyWeatherAction(Weather) - Constructor for class com.takenoko.actions.weather.ChooseAndApplyWeatherAction
- ChooseIfApplyWeatherAction - Class in com.takenoko.actions.weather
-
Action to choose whether to apply the weather or not
- ChooseIfApplyWeatherAction(boolean) - Constructor for class com.takenoko.actions.weather.ChooseIfApplyWeatherAction
- chooseTileInTileDeck(Tile) - Method in class com.takenoko.engine.Board
- clear() - Method in class com.takenoko.inventory.Inventory
-
reset inventory
- clear() - Method in class com.takenoko.layers.bamboo.BambooStack
-
reset bamboo counter to value 0
- clearForcedActions() - Method in class com.takenoko.engine.ActionManager
-
clear the list of available actions of the FORCED type
- Cloudy - Class in com.takenoko.weather
-
Weather that makes the player draw an improvement from the deck.
- Cloudy() - Constructor for class com.takenoko.weather.Cloudy
- CLOUDY - Enum constant in enum class com.takenoko.weather.WeatherFactory
-
Gray clouds ☁️ darken the sky.
- collectBamboo() - Method in class com.takenoko.inventory.InventoryBambooStack
-
add 1 bamboo to inventory
- collectBamboo(TileColor) - Method in class com.takenoko.inventory.Inventory
-
add 1 bamboo to the inventory
- collectIrrigationChannel() - Method in class com.takenoko.inventory.Inventory
- ColletBot - Class in com.takenoko.bot
- ColletBot() - Constructor for class com.takenoko.bot.ColletBot
- color - Variable in class com.takenoko.layers.tile.Tile
- com.takenoko - package com.takenoko
- com.takenoko.actions - package com.takenoko.actions
- com.takenoko.actions.actors - package com.takenoko.actions.actors
- com.takenoko.actions.annotations - package com.takenoko.actions.annotations
- com.takenoko.actions.bamboo - package com.takenoko.actions.bamboo
- com.takenoko.actions.improvement - package com.takenoko.actions.improvement
- com.takenoko.actions.irrigation - package com.takenoko.actions.irrigation
- com.takenoko.actions.objective - package com.takenoko.actions.objective
- com.takenoko.actions.tile - package com.takenoko.actions.tile
- com.takenoko.actions.weather - package com.takenoko.actions.weather
- com.takenoko.actors - package com.takenoko.actors
- com.takenoko.asset - package com.takenoko.asset
- com.takenoko.bot - package com.takenoko.bot
- com.takenoko.bot.unitary - package com.takenoko.bot.unitary
- com.takenoko.bot.utils - package com.takenoko.bot.utils
- com.takenoko.bot.utils.pathfinding.gardener - package com.takenoko.bot.utils.pathfinding.gardener
- com.takenoko.bot.utils.pathfinding.irrigation - package com.takenoko.bot.utils.pathfinding.irrigation
- com.takenoko.bot.utils.pathfinding.panda - package com.takenoko.bot.utils.pathfinding.panda
- com.takenoko.engine - package com.takenoko.engine
- com.takenoko.inventory - package com.takenoko.inventory
- com.takenoko.layers.bamboo - package com.takenoko.layers.bamboo
- com.takenoko.layers.irrigation - package com.takenoko.layers.irrigation
- com.takenoko.layers.tile - package com.takenoko.layers.tile
- com.takenoko.objective - package com.takenoko.objective
- com.takenoko.shape - package com.takenoko.shape
- com.takenoko.stats - package com.takenoko.stats
- com.takenoko.ui - package com.takenoko.ui
- com.takenoko.vector - package com.takenoko.vector
- com.takenoko.weather - package com.takenoko.weather
- compute(Board, BotState, History) - Method in class com.takenoko.bot.PriorityBot
- consoleUserInterface - Variable in class com.takenoko.bot.PriorityBot
- consoleUserInterface - Static variable in class com.takenoko.bot.utils.pathfinding.irrigation.IrrigationPathFinding
- consoleUserInterface - Variable in class com.takenoko.engine.BotManager
- consoleUserInterface - Variable in class com.takenoko.engine.GameEngine
- ConsoleUserInterface - Class in com.takenoko.ui
-
Console user interface
- ConsoleUserInterface() - Constructor for class com.takenoko.ui.ConsoleUserInterface
-
Create a new ConsoleUserInterface with default logger
- ConsoleUserInterface(Logger) - Constructor for class com.takenoko.ui.ConsoleUserInterface
-
Create a new ConsoleUserInterface with the given logger
- copy() - Method in class com.takenoko.actors.Gardener
- copy() - Method in class com.takenoko.actors.Panda
- copy() - Method in class com.takenoko.asset.GameAssets
- copy() - Method in class com.takenoko.engine.Board
- copy() - Method in class com.takenoko.engine.BotState
-
make a copy of the current state
- copy() - Method in class com.takenoko.engine.History
- copy() - Method in class com.takenoko.engine.ObjectiveManager
-
Return a copy of the current ObjectiveManager
- copy() - Method in class com.takenoko.inventory.Inventory
- copy() - Method in class com.takenoko.inventory.InventoryBambooStack
- copy() - Method in class com.takenoko.inventory.InventoryImprovements
- copy() - Method in class com.takenoko.layers.bamboo.BambooLayer
- copy() - Method in class com.takenoko.layers.bamboo.BambooStack
- copy() - Method in class com.takenoko.layers.bamboo.LayerBambooStack
- copy() - Method in class com.takenoko.layers.irrigation.EdgePosition
- copy() - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- copy() - Method in class com.takenoko.layers.tile.Pond
- copy() - Method in class com.takenoko.layers.tile.Tile
- copy() - Method in class com.takenoko.layers.tile.TileLayer
- copy() - Method in class com.takenoko.objective.EmperorObjective
- copy() - Method in class com.takenoko.objective.MultipleGardenerObjective
- copy() - Method in class com.takenoko.objective.Objective
- copy() - Method in class com.takenoko.objective.PandaObjective
- copy() - Method in class com.takenoko.objective.PatternObjective
- copy() - Method in class com.takenoko.objective.SingleGardenerObjective
- copy() - Method in class com.takenoko.shape.Shape
- copy() - Method in class com.takenoko.stats.BoardStatistics
- copy() - Method in class com.takenoko.stats.SingleBotStatistics
- copy() - Method in class com.takenoko.vector.PositionVector
- cost - Variable in record class com.takenoko.actions.ActionResult
-
The field for the
cost
record component. - cost() - Method in record class com.takenoko.actions.ActionResult
-
Returns the value of the
cost
record component. - createPattern(TileColor) - Method in enum class com.takenoko.shape.PatternFactory
- createWeather() - Method in enum class com.takenoko.weather.WeatherFactory
- csv - Variable in class com.takenoko.Main
- CSVExporter - Class in com.takenoko.stats
- CSVExporter(String) - Constructor for class com.takenoko.stats.CSVExporter
- csvPath - Variable in class com.takenoko.stats.CSVExporter
- currentBotManagerUUID - Variable in class com.takenoko.engine.History
- Curve - Class in com.takenoko.shape
-
Build a solid color Curve pattern
- Curve(TileColor) - Constructor for class com.takenoko.shape.Curve
- CURVE - Enum constant in enum class com.takenoko.shape.PatternFactory
D
- DEFAULT - Enum constant in enum class com.takenoko.actions.annotations.ActionType
-
This action is available on each turn.
- DEFAULT_AVAILABLE_ACTIONS - Static variable in class com.takenoko.engine.ActionManager
- DEFAULT_BOT - Static variable in class com.takenoko.engine.BotManager
- DEFAULT_CONSOLE_USER_INTERFACE - Static variable in class com.takenoko.engine.BotManager
- DEFAULT_IMPROVEMENT_COUNT - Static variable in class com.takenoko.asset.ImprovementDeck
- DEFAULT_NAME - Static variable in class com.takenoko.engine.BotManager
- DEFAULT_NUMBER_OF_ACTIONS - Static variable in class com.takenoko.engine.ActionManager
- DEFAULT_NUMBER_OF_OBJECTIVES_TO_WIN - Static variable in class com.takenoko.engine.GameEngine
- DEFAULT_NUMBER_OF_ROUNDS - Static variable in class com.takenoko.engine.GameEngine
- DEFAULT_PARAMS - Static variable in class com.takenoko.bot.IrrigationMaster
- DEFAULT_PARAMS - Static variable in class com.takenoko.bot.WeatherMaster
- DEFAULT_PRIORITY - Static variable in class com.takenoko.bot.PriorityBot
- DEFAULT_RUSH_PANDA_THRESHOLD - Static variable in class com.takenoko.bot.utils.HistoryAnalysis
- DEFAULT_SIZE - Static variable in class com.takenoko.asset.IrrigationDeck
- DefaultAction - Interface in com.takenoko.actions
- defaultNumberOfActions - Variable in class com.takenoko.engine.BotManager
- defaultRotationOrigin - Variable in class com.takenoko.shape.Shape
- demo - Variable in class com.takenoko.Main
- Diamond - Class in com.takenoko.shape
-
Build a solid color Diamond pattern
- Diamond(TileColor) - Constructor for class com.takenoko.shape.Diamond
- DIAMOND - Enum constant in enum class com.takenoko.shape.PatternFactory
- Dice - Class in com.takenoko.weather
-
Dice with N sides, by default it has 6.
- Dice(int) - Constructor for class com.takenoko.weather.Dice
-
Specify the number of sides
- Dice(int, Random) - Constructor for class com.takenoko.weather.Dice
-
Specify the number of sides and the Random Generator
- Direction - Enum Class in com.takenoko.vector
-
The enum Direction represents the 6 directions in a 2D hexagonal grid.
- Direction(Vector) - Constructor for enum class com.takenoko.vector.Direction
- displayDebug(String) - Method in class com.takenoko.ui.ConsoleUserInterface
- displayDebug(String) - Method in interface com.takenoko.ui.UserInterface
- displayDebugBotState() - Method in class com.takenoko.engine.BotManager
-
Display debug messages
- displayEnd(String) - Method in class com.takenoko.ui.ConsoleUserInterface
- displayError(String) - Method in class com.takenoko.ui.ConsoleUserInterface
-
Display a message to logger.error
- displayError(String) - Method in interface com.takenoko.ui.UserInterface
- displayFullStats(String) - Method in class com.takenoko.ui.ConsoleUserInterface
- displayLineSeparator() - Method in class com.takenoko.ui.ConsoleUserInterface
- displayMessage(String) - Method in class com.takenoko.engine.BotManager
- displayMessage(String) - Method in class com.takenoko.ui.ConsoleUserInterface
-
Display a message to logger.info
- displayMessage(String) - Method in interface com.takenoko.ui.UserInterface
- displayScoreBoard(String) - Method in class com.takenoko.ui.ConsoleUserInterface
- displayStats(String) - Method in class com.takenoko.ui.ConsoleUserInterface
- distance(Vector) - Method in class com.takenoko.vector.Vector
-
Determine the distance between two vectors.
- draw() - Method in class com.takenoko.asset.IrrigationDeck
-
Draws an irrigation from the deck.
- draw() - Method in class com.takenoko.asset.TileDeck
-
Draw tiles from the deck.
- draw(ImprovementType) - Method in class com.takenoko.asset.ImprovementDeck
- draw(ObjectiveType) - Method in class com.takenoko.asset.ObjectiveDeck
- drawImprovement(ImprovementType) - Method in class com.takenoko.engine.Board
- DrawImprovementAction - Class in com.takenoko.actions.improvement
-
Action to draw an improvement from the deck.
- DrawImprovementAction(ImprovementType) - Constructor for class com.takenoko.actions.improvement.DrawImprovementAction
- drawIrrigation() - Method in class com.takenoko.engine.Board
- DrawIrrigationAction - Class in com.takenoko.actions.irrigation
- DrawIrrigationAction() - Constructor for class com.takenoko.actions.irrigation.DrawIrrigationAction
- drawObjective(ObjectiveType) - Method in class com.takenoko.engine.Board
- DrawObjectiveAction - Class in com.takenoko.actions.objective
-
This class is used to draw an objective card.
- DrawObjectiveAction(ObjectiveType) - Constructor for class com.takenoko.actions.objective.DrawObjectiveAction
-
Constructor.
- DrawTileAction - Class in com.takenoko.actions.tile
-
Action to draw a Tile from the deck.
- DrawTileAction() - Constructor for class com.takenoko.actions.tile.DrawTileAction
- drawTiles() - Method in class com.takenoko.engine.Board
E
- EARLY_GAME - Enum constant in enum class com.takenoko.bot.utils.GameProgress
- eatBamboo() - Method in class com.takenoko.layers.bamboo.BambooStack
-
lower bambooCount by 1
- eatBamboo() - Method in class com.takenoko.layers.bamboo.LayerBambooStack
- eatBamboo(PositionVector) - Method in class com.takenoko.engine.Board
-
Eat a bamboo from a tile.
- eatBamboo(PositionVector, Board) - Method in class com.takenoko.layers.bamboo.BambooLayer
-
Eat a bamboo from a tile.
- edgePosition - Variable in class com.takenoko.actions.irrigation.PlaceIrrigationAction
- edgePosition - Variable in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
The field for the
edgePosition
record component. - edgePosition() - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Returns the value of the
edgePosition
record component. - EdgePosition - Class in com.takenoko.layers.irrigation
-
This record represents an irrigation channel Position
- EdgePosition(PositionVector, PositionVector) - Constructor for class com.takenoko.layers.irrigation.EdgePosition
- EdgePosition(Set<PositionVector>) - Constructor for class com.takenoko.layers.irrigation.EdgePosition
- elements - Variable in class com.takenoko.shape.Shape
- EMPEROR - Enum constant in enum class com.takenoko.objective.ObjectiveType
- EMPEROR_BONUS - Static variable in class com.takenoko.objective.EmperorObjective
- EmperorObjective - Class in com.takenoko.objective
-
This class represents the emperor objective.
- EmperorObjective() - Constructor for class com.takenoko.objective.EmperorObjective
- ENCLOSURE - Enum constant in enum class com.takenoko.layers.tile.ImprovementType
-
The enclosure 🛑 protects the bamboo of the plot where it is, the panda can cross it, stop there but in no case eat the bamboo that is there.
- END - Static variable in class com.takenoko.ui.ConsoleUserInterface
- endGame() - Method in class com.takenoko.engine.GameEngine
-
This method is used to end the game correctly.
- EndGameState - Enum Class in com.takenoko.engine
-
The EndGameState enum is used to represent the different states of the game as when it ends.
- EndGameState() - Constructor for enum class com.takenoko.engine.EndGameState
- equals(Object) - Method in record class com.takenoko.actions.ActionResult
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.takenoko.actions.actors.MoveGardenerAction
- equals(Object) - Method in class com.takenoko.actions.actors.MovePandaAction
- equals(Object) - Method in class com.takenoko.actions.bamboo.GrowBambooAction
- equals(Object) - Method in class com.takenoko.actions.improvement.ApplyImprovementAction
- equals(Object) - Method in class com.takenoko.actions.improvement.ApplyImprovementFromInventoryAction
- equals(Object) - Method in class com.takenoko.actions.improvement.DrawImprovementAction
- equals(Object) - Method in class com.takenoko.actions.irrigation.DrawIrrigationAction
- equals(Object) - Method in class com.takenoko.actions.irrigation.PlaceIrrigationAction
- equals(Object) - Method in class com.takenoko.actions.irrigation.PlaceIrrigationFromInventoryAction
- equals(Object) - Method in class com.takenoko.actions.objective.DrawObjectiveAction
- equals(Object) - Method in class com.takenoko.actions.tile.PlaceTileAction
- equals(Object) - Method in class com.takenoko.actions.weather.ChooseAndApplyWeatherAction
- equals(Object) - Method in class com.takenoko.actions.weather.ChooseIfApplyWeatherAction
- equals(Object) - Method in class com.takenoko.actors.Actor
- equals(Object) - Method in class com.takenoko.asset.GameAssets
- equals(Object) - Method in class com.takenoko.asset.ImprovementDeck
- equals(Object) - Method in class com.takenoko.asset.IrrigationDeck
- equals(Object) - Method in class com.takenoko.asset.ObjectiveDeck
- equals(Object) - Method in class com.takenoko.asset.TileDeck
- equals(Object) - Method in class com.takenoko.bot.IrrigationMaster
- equals(Object) - Method in class com.takenoko.bot.PriorityBot
- equals(Object) - Method in class com.takenoko.bot.RushPandaBot
- equals(Object) - Method in class com.takenoko.bot.unitary.SmartChooseAndApplyWeather
- equals(Object) - Method in class com.takenoko.bot.unitary.SmartDrawImprovement
- equals(Object) - Method in class com.takenoko.bot.unitary.SmartDrawIrrigation
- equals(Object) - Method in class com.takenoko.bot.unitary.SmartPlaceIrrigation
- equals(Object) - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.takenoko.bot.WeatherMaster
- equals(Object) - Method in class com.takenoko.engine.ActionManager
- equals(Object) - Method in class com.takenoko.engine.Board
- equals(Object) - Method in class com.takenoko.engine.BotState
- equals(Object) - Method in class com.takenoko.engine.History
- equals(Object) - Method in record class com.takenoko.engine.HistoryItem
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.takenoko.engine.ObjectiveManager
- equals(Object) - Method in class com.takenoko.inventory.Inventory
- equals(Object) - Method in class com.takenoko.layers.bamboo.BambooLayer
- equals(Object) - Method in class com.takenoko.layers.bamboo.BambooStack
- equals(Object) - Method in class com.takenoko.layers.irrigation.EdgePosition
- equals(Object) - Method in record class com.takenoko.layers.irrigation.IrrigationChannelPosition
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- equals(Object) - Method in class com.takenoko.layers.tile.Tile
- equals(Object) - Method in class com.takenoko.layers.tile.TileLayer
- equals(Object) - Method in class com.takenoko.objective.MultipleGardenerObjective
- equals(Object) - Method in class com.takenoko.objective.PandaObjective
- equals(Object) - Method in class com.takenoko.objective.PatternObjective
- equals(Object) - Method in class com.takenoko.objective.SingleGardenerObjective
- equals(Object) - Method in class com.takenoko.shape.Pattern
- equals(Object) - Method in class com.takenoko.shape.Shape
- equals(Object) - Method in class com.takenoko.stats.BoardStatistics
- equals(Object) - Method in class com.takenoko.stats.GameProgressStatistics
- equals(Object) - Method in class com.takenoko.stats.SingleBotStatistics
- equals(Object) - Method in class com.takenoko.vector.Vector
- equals(Object) - Method in class com.takenoko.weather.Dice
- equals(Object) - Method in class com.takenoko.weather.Weather
- execute(Board, BotManager) - Method in interface com.takenoko.actions.Action
-
Executes the action on the board and the bot manager.
- execute(Board, BotManager) - Method in class com.takenoko.actions.actors.MoveGardenerAction
-
Move the Gardener with a vector on the board and display a message.
- execute(Board, BotManager) - Method in class com.takenoko.actions.actors.MovePandaAction
-
Move the panda with a vector on the board and display a message.
- execute(Board, BotManager) - Method in class com.takenoko.actions.bamboo.GrowBambooAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.improvement.ApplyImprovementAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.improvement.ApplyImprovementFromInventoryAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.improvement.DrawImprovementAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.improvement.StoreImprovementAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.irrigation.DrawIrrigationAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.irrigation.PlaceIrrigationAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.irrigation.PlaceIrrigationFromInventoryAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.irrigation.StoreIrrigationInInventoryAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.objective.DrawObjectiveAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.objective.RedeemObjectiveAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.tile.DrawTileAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.tile.PlaceTileAction
-
Place the tile on the board and display a message.
- execute(Board, BotManager) - Method in class com.takenoko.actions.tile.PlaceTileWithImprovementAction
-
Apply the improvement on tile then place the tile on the board and display a message.
- execute(Board, BotManager) - Method in class com.takenoko.actions.weather.ChooseAndApplyWeatherAction
- execute(Board, BotManager) - Method in class com.takenoko.actions.weather.ChooseIfApplyWeatherAction
F
- fCost() - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
- FERTILIZER - Enum constant in enum class com.takenoko.layers.tile.ImprovementType
-
The fertilizer 🌱 increases the growth of the bamboo in the plot where it is located.
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.ColletBot
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.GeneralTacticBot
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.IrrigationMaster
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.PriorityBot
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.RushPandaBot
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartApplyWeather
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartApplyWind
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartChooseAndApplyWeather
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartDrawImprovement
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartDrawIrrigation
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartGardener
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartObjective
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartPanda
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartPattern
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartPlaceIrrigation
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.unitary.SmartStoreIrrigation
- fillAction(Board, BotState, History) - Method in class com.takenoko.bot.WeatherMaster
- FINAL_SCORE - Static variable in class com.takenoko.stats.SingleBotStatistics
- findOrigin(Map<PositionVector, Tile>) - Static method in class com.takenoko.shape.Shape
-
Find the rotation origin of the shape.
- FINISHED - Enum constant in enum class com.takenoko.engine.GameState
-
FINISHED state is used when the game is finished.
- FORCED - Enum constant in enum class com.takenoko.actions.annotations.ActionType
-
This action is the one a bot should choose in priority, these actions are not persistent
- ForcedMovePandaAction - Class in com.takenoko.actions.actors
- ForcedMovePandaAction(PositionVector) - Constructor for class com.takenoko.actions.actors.ForcedMovePandaAction
-
Constructor for the MovePandaAction class.
- FullRandomBot - Class in com.takenoko.bot
- FullRandomBot() - Constructor for class com.takenoko.bot.FullRandomBot
- FULLSTATS - Static variable in class com.takenoko.ui.ConsoleUserInterface
G
- gameAssets - Variable in class com.takenoko.engine.Board
- GameAssets - Class in com.takenoko.asset
- GameAssets() - Constructor for class com.takenoko.asset.GameAssets
- GameAssets(GameAssets) - Constructor for class com.takenoko.asset.GameAssets
- GameAssets(WeatherDice) - Constructor for class com.takenoko.asset.GameAssets
- GameAssets(WeatherDice, ImprovementDeck) - Constructor for class com.takenoko.asset.GameAssets
- GameAssets(WeatherDice, ImprovementDeck, TileDeck, IrrigationDeck, ObjectiveDeck) - Constructor for class com.takenoko.asset.GameAssets
- GameAssets(WeatherDice, TileDeck) - Constructor for class com.takenoko.asset.GameAssets
- GameEngine - Class in com.takenoko.engine
-
The game engine is responsible for the gameplay throughout the game.
- GameEngine() - Constructor for class com.takenoko.engine.GameEngine
-
Constructor for the GameEngine class.
- GameEngine(int, Board, ConsoleUserInterface, GameState, List<BotManager>, Scoreboard, BotStatistics, History) - Constructor for class com.takenoko.engine.GameEngine
- GameEngine(List<BotManager>) - Constructor for class com.takenoko.engine.GameEngine
- gameProgress - Variable in class com.takenoko.stats.GameProgressStatistics
- GameProgress - Enum Class in com.takenoko.bot.utils
- GameProgress() - Constructor for enum class com.takenoko.bot.utils.GameProgress
- GameProgressStatistics - Class in com.takenoko.stats
- GameProgressStatistics(GameProgress) - Constructor for class com.takenoko.stats.GameProgressStatistics
- gameState - Variable in class com.takenoko.engine.GameEngine
- GameState - Enum Class in com.takenoko.engine
-
The GameState enum is used to represent the different states of the game as it progresses.
- GameState() - Constructor for enum class com.takenoko.engine.GameState
- GAMESTATS - Static variable in class com.takenoko.ui.ConsoleUserInterface
- gardener - Variable in class com.takenoko.engine.Board
- Gardener - Class in com.takenoko.actors
-
Gardener class.
- Gardener() - Constructor for class com.takenoko.actors.Gardener
-
Constructor for the Gardener class.
- Gardener(PositionVector) - Constructor for class com.takenoko.actors.Gardener
-
Constructor for the Gardener class.
- GARDENER - Enum constant in enum class com.takenoko.objective.ObjectiveType
- GardenerPathfinding - Class in com.takenoko.bot.utils.pathfinding.gardener
- GardenerPathfinding() - Constructor for class com.takenoko.bot.utils.pathfinding.gardener.GardenerPathfinding
- gCost - Variable in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
The field for the
gCost
record component. - gCost() - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Returns the value of the
gCost
record component. - GeneralTacticBot - Class in com.takenoko.bot
- GeneralTacticBot() - Constructor for class com.takenoko.bot.GeneralTacticBot
- getAchievedObjectives() - Method in class com.takenoko.engine.BotManager
- getAchievedObjectives() - Method in class com.takenoko.engine.BotState
-
get the list of achieved objectives
- getAchievedObjectives() - Method in class com.takenoko.engine.ObjectiveManager
-
get the list of achieved objectives
- getActions() - Method in class com.takenoko.stats.GameProgressStatistics
- getActions() - Method in class com.takenoko.stats.SingleBotStatistics
- getAlreadyDoneActions() - Method in class com.takenoko.engine.ActionManager
-
get the list of already done actions
- getAlreadyDoneActions() - Method in class com.takenoko.engine.BotState
-
get the list of already done actions
- getAvailableActions() - Method in class com.takenoko.engine.ActionManager
-
Return the list of available actions.
- getAvailableActions() - Method in class com.takenoko.engine.BotState
-
Return the list of available actions.
- getAvailableEdgePositions() - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- getAvailableImprovementPositions() - Method in class com.takenoko.engine.Board
- getAvailableImprovementPositions(Board) - Method in class com.takenoko.layers.tile.TileLayer
-
Get the positions where an improvement can be placed.
- getAvailableIrrigationPositions() - Method in class com.takenoko.engine.Board
- getAvailableTilePositions() - Method in class com.takenoko.engine.Board
-
Returns the available tile positions.
- getAvailableTilePositions() - Method in class com.takenoko.layers.tile.TileLayer
-
Get the available tiles.
- getAvailableTiles() - Method in class com.takenoko.engine.Board
-
Return the list of available tiles.
- getAvailableTiles() - Method in class com.takenoko.layers.tile.TileLayer
-
Get the available tiles.
- getBambooAt(PositionVector) - Method in class com.takenoko.engine.Board
-
Get the bamboo stack at the position.
- getBambooAt(PositionVector, Board) - Method in class com.takenoko.layers.bamboo.BambooLayer
-
Get the number of bamboo on a tile.
- getBambooCount() - Method in class com.takenoko.inventory.Inventory
- getBambooCount() - Method in class com.takenoko.layers.bamboo.BambooStack
- getBambooCount(TileColor) - Method in class com.takenoko.inventory.Inventory
-
Return the number of bamboo of a specific color
- getBambooCounter() - Method in class com.takenoko.stats.SingleBotStatistics
- getBambooStack(TileColor) - Method in class com.takenoko.inventory.Inventory
- getBambooTarget() - Method in class com.takenoko.objective.PandaObjective
- getBoard() - Method in class com.takenoko.engine.GameEngine
-
Returns the game board
- getBoardStatistics() - Method in class com.takenoko.engine.Board
- getBotManagers() - Method in class com.takenoko.engine.Scoreboard
- getBotsData() - Method in class com.takenoko.stats.BotCSVExporter
- getCandidateShapes(Board, BotState) - Method in class com.takenoko.bot.unitary.SmartPlaceIrrigation
-
Get all the shape matching the patterns on the current pattern objectives
- getColor() - Method in class com.takenoko.layers.tile.Tile
- getColorsString() - Method in class com.takenoko.shape.Pattern
- getCompletion(Board, BotState) - Method in class com.takenoko.objective.EmperorObjective
- getCompletion(Board, BotState) - Method in class com.takenoko.objective.MultipleGardenerObjective
- getCompletion(Board, BotState) - Method in class com.takenoko.objective.Objective
- getCompletion(Board, BotState) - Method in class com.takenoko.objective.PandaObjective
- getCompletion(Board, BotState) - Method in class com.takenoko.objective.PatternObjective
- getCompletion(Board, BotState) - Method in class com.takenoko.objective.SingleGardenerObjective
- getCurrentBotManagerUUID() - Method in class com.takenoko.engine.History
- getCurrentBotScores(History) - Static method in class com.takenoko.bot.utils.HistoryAnalysis
-
Retrieves the current score for each bot manager in the history.
- getCurrentPatternObjectives(BotState) - Method in class com.takenoko.bot.unitary.SmartPattern
- getCurrentPatternObjectives(BotState) - Method in class com.takenoko.bot.unitary.SmartPlaceIrrigation
- getEatenBambooCounter() - Method in class com.takenoko.engine.BotManager
- getEatenBambooCounter() - Method in class com.takenoko.engine.BotState
- getEdgePositions(PositionVector) - Static method in class com.takenoko.layers.irrigation.EdgePosition
- getElements() - Method in class com.takenoko.shape.Shape
- getEligiblePositions(Board) - Method in class com.takenoko.objective.SingleGardenerObjective
- getFinalScore() - Method in class com.takenoko.stats.SingleBotStatistics
- getGameProgress(History) - Static method in class com.takenoko.bot.utils.HistoryAnalysis
-
Calculate the game progress as an Link
GameProgress
Enum. - getGameState() - Method in class com.takenoko.engine.GameEngine
-
Return the current game state
- getGardenerMoves(Board, BotState) - Static method in class com.takenoko.bot.utils.pathfinding.gardener.GardenerPathfinding
- getGardenerPosition() - Method in class com.takenoko.engine.Board
-
Get the Position of the Gardener
- getGardenerPossibleMoves() - Method in class com.takenoko.engine.Board
-
Returns possible moves for the gardener.
- getGrowablePositions() - Method in class com.takenoko.engine.Board
- getGrowablePositions(Board) - Method in class com.takenoko.layers.bamboo.BambooLayer
- getHistoryStatistics() - Method in class com.takenoko.engine.History
- getImprovement() - Method in class com.takenoko.layers.tile.Tile
-
Get the improvement of the tile.
- getImprovementCount(ImprovementType) - Method in class com.takenoko.inventory.Inventory
- getImprovementCount(ImprovementType) - Method in class com.takenoko.inventory.InventoryImprovements
- getImprovementDeck() - Method in class com.takenoko.asset.GameAssets
- getImprovements() - Method in class com.takenoko.stats.BoardStatistics
- getInventory() - Method in class com.takenoko.engine.BotManager
-
Return the bot inventory
- getInventory() - Method in class com.takenoko.engine.BotState
-
Return the bot inventory
- getInventoryImprovements() - Method in class com.takenoko.inventory.Inventory
- getIrrigationChannelsCount() - Method in class com.takenoko.inventory.Inventory
- getIrrigationChannelsPositions() - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- getIrrigationDeck() - Method in class com.takenoko.asset.GameAssets
- getLatestHistoryItems() - Method in class com.takenoko.engine.History
-
Returns a map of the latest history item for each bot manager in the history.
- getLeftTilePosition() - Method in class com.takenoko.layers.irrigation.EdgePosition
- getLosses() - Method in class com.takenoko.stats.SingleBotStatistics
- getMatchingPositions(Board) - Method in class com.takenoko.objective.SingleGardenerObjective
- getMaxCurrentBotScore(History) - Static method in class com.takenoko.bot.utils.HistoryAnalysis
-
Calculates the maximum current score of all bot managers in the history.
- getMissingShape(Shape) - Method in class com.takenoko.shape.Shape
- getName() - Method in class com.takenoko.engine.BotManager
- getNeighbors() - Method in class com.takenoko.vector.Vector
-
Determine the neighbors of the vector.
- getNeighbours() - Method in class com.takenoko.layers.irrigation.EdgePosition
-
Return the list of all the neighbours of the irrigation channel position A neighbour is a position that is connected to the irrigation channel position
- getNotAchievedObjectives() - Method in class com.takenoko.engine.BotState
- getNotAchievedObjectives() - Method in class com.takenoko.engine.ObjectiveManager
- getNumberOfActions() - Method in class com.takenoko.engine.ActionManager
- getNumberOfActions() - Method in class com.takenoko.engine.BotManager
- getNumberOfActions() - Method in class com.takenoko.engine.BotState
- getNumberOfVictory(BotManager) - Method in class com.takenoko.engine.Scoreboard
- getNumericStats() - Method in class com.takenoko.stats.SingleBotStatistics
- getObjectiveDeck() - Method in class com.takenoko.asset.GameAssets
- getObjectives() - Method in class com.takenoko.engine.BotState
-
Get the current Objectives of the bot
- getObjectives() - Method in class com.takenoko.engine.ObjectiveManager
-
Get the current Objectives of the bot
- getObjectiveScore() - Method in class com.takenoko.engine.BotManager
- getObjectiveScore() - Method in class com.takenoko.engine.BotState
-
get the score of the achieved objectives
- getObjectiveScore() - Method in class com.takenoko.engine.ObjectiveManager
-
get the score of the achieved objectives
- getObjectivesRedeemed() - Method in class com.takenoko.stats.SingleBotStatistics
- getObjectiveType() - Method in class com.takenoko.actions.objective.DrawObjectiveAction
-
Get the objective type of the action
- getPandaMoves(Board, BotState) - Static method in class com.takenoko.bot.utils.pathfinding.panda.PandaPathfinding
- getPandaMovesThatEatBamboo(Board) - Static method in class com.takenoko.bot.utils.pathfinding.panda.PandaPathfinding
- getPandaObjectiveScore() - Method in class com.takenoko.engine.BotManager
- getPandaObjectiveScore() - Method in class com.takenoko.engine.BotState
-
Returns the sum of the points of all the panda objectives
- getPandaObjectiveScore() - Method in class com.takenoko.engine.ObjectiveManager
-
Returns the sum of the points of all the panda objectives
- getPandaPosition() - Method in class com.takenoko.engine.Board
-
Get the Position of the Panda
- getPandaPossibleMoves() - Method in class com.takenoko.engine.Board
-
Returns possible moves for the panda.
- getPattern() - Method in class com.takenoko.objective.PatternObjective
-
Return the pattern of the objective.
- getPercentageOfIrrigation() - Method in class com.takenoko.stats.BoardStatistics
- getPlacedIrrigations() - Method in class com.takenoko.engine.Board
- getPoints() - Method in class com.takenoko.objective.Objective
- getPosition() - Method in class com.takenoko.actors.Actor
- getPositionsToComplete(Board) - Method in class com.takenoko.objective.MultipleGardenerObjective
- getPositionsToComplete(Board) - Method in class com.takenoko.objective.SingleGardenerObjective
- getPositionVector() - Method in class com.takenoko.actors.Actor
- getPossibleMoves(Board) - Method in class com.takenoko.actors.Actor
-
Returns possible moves for the actor.
- getRandomApplyImprovementAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomApplyImprovementFromInventoryAction(Board, BotState) - Method in class com.takenoko.bot.FullRandomBot
- getRandomChooseAndApplyWeatherAction() - Method in class com.takenoko.bot.FullRandomBot
- getRandomDrawAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomDrawObjectiveAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomForcedMovePandaAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomGrowBambooAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomMoveGardenerAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomMovePandaAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomPlaceIrrigationAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomPlaceIrrigationFromInventoryAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomPlaceTileAction(Board) - Method in class com.takenoko.bot.FullRandomBot
- getRandomRedeemObjectiveAction(BotState) - Method in class com.takenoko.bot.FullRandomBot
- getRedeemedObjectives() - Method in class com.takenoko.engine.BotManager
- getRedeemedObjectives() - Method in class com.takenoko.engine.BotState
-
Get the list of the redeemed objectives
- getRedeemedObjectives() - Method in class com.takenoko.engine.ObjectiveManager
-
Get the list of the redeemed objectives
- getRightTilePosition() - Method in class com.takenoko.layers.irrigation.EdgePosition
- getRotatedShape(int) - Method in class com.takenoko.shape.Shape
- getRotatedShapes() - Method in class com.takenoko.shape.Shape
- getRoundNumber() - Method in class com.takenoko.engine.Board
- getShapesToCompletePatternObjective(Board) - Method in class com.takenoko.shape.Pattern
- getShapeToCompletePatternObjective(Board) - Method in class com.takenoko.objective.PatternObjective
- getShortestIrrigationPath(List<PositionVector>, Board) - Static method in class com.takenoko.bot.utils.pathfinding.irrigation.IrrigationPathFinding
- getSingleBotStatistics() - Method in class com.takenoko.engine.BotManager
- getSize() - Method in class com.takenoko.asset.IrrigationDeck
- getStarterDeck() - Method in class com.takenoko.asset.GameAssets
-
Return the list of objectives for the starting deck
- getStarterDeck() - Method in class com.takenoko.asset.ObjectiveDeck
-
Create the starter deck for a player
- getStarterDeck() - Method in class com.takenoko.engine.Board
-
Return the list of objectives for the starting deck
- getState() - Method in class com.takenoko.objective.Objective
- getSubsetMatchPattern(Board, int, boolean) - Method in class com.takenoko.shape.Pattern
- getTargetSize() - Method in class com.takenoko.objective.SingleGardenerObjective
- getTileAt(PositionVector) - Method in class com.takenoko.engine.Board
-
Returns the tile at the position.
- getTileAt(PositionVector) - Method in class com.takenoko.layers.tile.TileLayer
-
Return the tile at the given position.
- getTileDeck() - Method in class com.takenoko.asset.GameAssets
- getTiles() - Method in class com.takenoko.engine.Board
-
Returns a copy of the hashmap of tiles.
- getTiles() - Method in class com.takenoko.layers.tile.TileLayer
-
Get the tiles on the board.
- getTilesPlaced() - Method in class com.takenoko.stats.SingleBotStatistics
- getTilesWithoutPond() - Method in class com.takenoko.engine.Board
-
Returns a copy of the hashmap of tiles without the pond.
- getTilesWithoutPond() - Method in class com.takenoko.layers.tile.TileLayer
-
Get the tile placed on the board but without the pond.
- getTotalNbOfAction() - Method in class com.takenoko.stats.SingleBotStatistics
- getTotalNbOfTiles() - Method in class com.takenoko.stats.BoardStatistics
- getTotalScore() - Method in class com.takenoko.engine.Scoreboard
- getType() - Method in class com.takenoko.layers.tile.Tile
-
Get the type of the tile.
- getType() - Method in class com.takenoko.objective.Objective
- getUniqueID() - Method in class com.takenoko.engine.BotManager
- getVector() - Method in enum class com.takenoko.vector.Direction
- getWeather() - Method in class com.takenoko.engine.Board
- getWeatherDice() - Method in class com.takenoko.asset.GameAssets
- getWeathers() - Method in class com.takenoko.stats.SingleBotStatistics
- getWhereToEatToComplete(Board, BotState) - Method in class com.takenoko.objective.PandaObjective
- getWinner() - Method in class com.takenoko.engine.GameEngine
-
Return the winner of the game.
- getWins() - Method in class com.takenoko.stats.SingleBotStatistics
- GREEN - Enum constant in enum class com.takenoko.layers.tile.TileColor
- growBamboo() - Method in class com.takenoko.layers.bamboo.BambooStack
-
increment bambooCount by 1
- growBamboo() - Method in class com.takenoko.layers.bamboo.LayerBambooStack
- growBamboo(int) - Method in class com.takenoko.layers.bamboo.BambooStack
-
increment bambooCount by height
- growBamboo(PositionVector) - Method in class com.takenoko.engine.Board
-
Grow bamboo on a tile.
- growBamboo(PositionVector, Board) - Method in class com.takenoko.layers.bamboo.BambooLayer
-
Grow bamboo on a tile.
- GrowBambooAction - Class in com.takenoko.actions.bamboo
-
Action that grows bamboo at a given position.
- GrowBambooAction(PositionVector) - Constructor for class com.takenoko.actions.bamboo.GrowBambooAction
H
- hashCode() - Method in record class com.takenoko.actions.ActionResult
-
Returns a hash code value for this object.
- hashCode() - Method in class com.takenoko.actions.actors.MoveGardenerAction
- hashCode() - Method in class com.takenoko.actions.actors.MovePandaAction
- hashCode() - Method in class com.takenoko.actions.bamboo.GrowBambooAction
- hashCode() - Method in class com.takenoko.actions.improvement.ApplyImprovementAction
- hashCode() - Method in class com.takenoko.actions.improvement.ApplyImprovementFromInventoryAction
- hashCode() - Method in class com.takenoko.actions.improvement.DrawImprovementAction
- hashCode() - Method in class com.takenoko.actions.irrigation.DrawIrrigationAction
- hashCode() - Method in class com.takenoko.actions.irrigation.PlaceIrrigationAction
- hashCode() - Method in class com.takenoko.actions.irrigation.PlaceIrrigationFromInventoryAction
- hashCode() - Method in class com.takenoko.actions.objective.DrawObjectiveAction
- hashCode() - Method in class com.takenoko.actions.tile.PlaceTileAction
- hashCode() - Method in class com.takenoko.actions.weather.ChooseAndApplyWeatherAction
- hashCode() - Method in class com.takenoko.actions.weather.ChooseIfApplyWeatherAction
- hashCode() - Method in class com.takenoko.actors.Actor
- hashCode() - Method in class com.takenoko.asset.GameAssets
- hashCode() - Method in class com.takenoko.asset.ImprovementDeck
- hashCode() - Method in class com.takenoko.asset.IrrigationDeck
- hashCode() - Method in class com.takenoko.asset.ObjectiveDeck
- hashCode() - Method in class com.takenoko.asset.TileDeck
- hashCode() - Method in class com.takenoko.bot.IrrigationMaster
- hashCode() - Method in class com.takenoko.bot.PriorityBot
- hashCode() - Method in class com.takenoko.bot.RushPandaBot
- hashCode() - Method in class com.takenoko.bot.unitary.SmartChooseAndApplyWeather
- hashCode() - Method in class com.takenoko.bot.unitary.SmartDrawImprovement
- hashCode() - Method in class com.takenoko.bot.unitary.SmartDrawIrrigation
- hashCode() - Method in class com.takenoko.bot.unitary.SmartPlaceIrrigation
- hashCode() - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Returns a hash code value for this object.
- hashCode() - Method in class com.takenoko.bot.WeatherMaster
- hashCode() - Method in class com.takenoko.engine.ActionManager
- hashCode() - Method in class com.takenoko.engine.Board
- hashCode() - Method in class com.takenoko.engine.BotState
- hashCode() - Method in class com.takenoko.engine.History
- hashCode() - Method in record class com.takenoko.engine.HistoryItem
-
Returns a hash code value for this object.
- hashCode() - Method in class com.takenoko.engine.ObjectiveManager
- hashCode() - Method in class com.takenoko.inventory.Inventory
- hashCode() - Method in class com.takenoko.layers.bamboo.BambooLayer
- hashCode() - Method in class com.takenoko.layers.bamboo.BambooStack
- hashCode() - Method in class com.takenoko.layers.irrigation.EdgePosition
- hashCode() - Method in record class com.takenoko.layers.irrigation.IrrigationChannelPosition
-
Returns a hash code value for this object.
- hashCode() - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- hashCode() - Method in class com.takenoko.layers.tile.Tile
- hashCode() - Method in class com.takenoko.layers.tile.TileLayer
- hashCode() - Method in class com.takenoko.objective.MultipleGardenerObjective
- hashCode() - Method in class com.takenoko.objective.PandaObjective
- hashCode() - Method in class com.takenoko.objective.PatternObjective
- hashCode() - Method in class com.takenoko.objective.SingleGardenerObjective
- hashCode() - Method in class com.takenoko.shape.Pattern
- hashCode() - Method in class com.takenoko.shape.Shape
- hashCode() - Method in class com.takenoko.stats.BoardStatistics
- hashCode() - Method in class com.takenoko.stats.GameProgressStatistics
- hashCode() - Method in class com.takenoko.stats.SingleBotStatistics
- hashCode() - Method in class com.takenoko.vector.Vector
- hashCode() - Method in class com.takenoko.weather.Dice
- hashCode() - Method in class com.takenoko.weather.Weather
- hasImprovement() - Method in class com.takenoko.inventory.Inventory
-
Method to verify whether the inventory contains any improvement or not
- hasImprovement(ImprovementType) - Method in class com.takenoko.asset.ImprovementDeck
- hasImprovement(ImprovementType) - Method in class com.takenoko.inventory.Inventory
-
Method to verify whether the inventory contains the improvement type specified or not
- hasImprovement(ImprovementType) - Method in class com.takenoko.inventory.InventoryImprovements
- hasImprovementInDeck() - Method in class com.takenoko.engine.Board
- hasImprovementInDeck(ImprovementType) - Method in class com.takenoko.engine.Board
- hasIrrigation() - Method in class com.takenoko.asset.IrrigationDeck
- hasIrrigation() - Method in class com.takenoko.engine.Board
- hasObjectiveType(ObjectiveType) - Method in class com.takenoko.asset.ObjectiveDeck
- hasObjectiveTypeInDeck(ObjectiveType) - Method in class com.takenoko.asset.GameAssets
- hasObjectiveTypeInDeck(ObjectiveType) - Method in class com.takenoko.engine.Board
- hCost - Variable in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
The field for the
hCost
record component. - hCost() - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Returns the value of the
hCost
record component. - header - Variable in class com.takenoko.stats.BotCSVExporter
- history - Variable in class com.takenoko.engine.GameEngine
- History - Class in com.takenoko.engine
-
Class that stores the history of a game.
- History() - Constructor for class com.takenoko.engine.History
- History(History) - Constructor for class com.takenoko.engine.History
- HistoryAnalysis - Class in com.takenoko.bot.utils
-
Class that analyses the history of a game.
- HistoryAnalysis() - Constructor for class com.takenoko.bot.utils.HistoryAnalysis
- HistoryItem - Record Class in com.takenoko.engine
- HistoryItem(Action, List<Objective>) - Constructor for record class com.takenoko.engine.HistoryItem
-
Creates an instance of a
HistoryItem
record class. - historyStatistics - Variable in class com.takenoko.engine.History
- HistoryStatistics - Class in com.takenoko.stats
- HistoryStatistics() - Constructor for class com.takenoko.stats.HistoryStatistics
- HistoryStatistics(List<BotManager>) - Constructor for class com.takenoko.stats.HistoryStatistics
- HistoryStatisticsItem - Class in com.takenoko.stats
- HistoryStatisticsItem() - Constructor for class com.takenoko.stats.HistoryStatisticsItem
I
- improvement - Variable in class com.takenoko.layers.tile.Tile
- improvementDeck - Variable in class com.takenoko.asset.GameAssets
- ImprovementDeck - Class in com.takenoko.asset
-
The deck containing all the improvement chips you can place on the tiles.
- ImprovementDeck() - Constructor for class com.takenoko.asset.ImprovementDeck
- improvementMap - Variable in class com.takenoko.bot.unitary.SmartDrawImprovement
- improvements - Variable in class com.takenoko.stats.BoardStatistics
- improvementType - Variable in class com.takenoko.actions.improvement.ApplyImprovementFromInventoryAction
- improvementType - Variable in class com.takenoko.actions.improvement.DrawImprovementAction
- ImprovementType - Enum Class in com.takenoko.layers.tile
- ImprovementType() - Constructor for enum class com.takenoko.layers.tile.ImprovementType
- incrementIrrigationsPlaced() - Method in class com.takenoko.stats.SingleBotStatistics
- incrementLosses() - Method in class com.takenoko.stats.SingleBotStatistics
- incrementLosses(BotManager) - Method in class com.takenoko.stats.BotStatistics
- incrementNbOfRounds() - Method in class com.takenoko.stats.GameProgressStatistics
- incrementNumberOfRounds(BotManager, GameProgress) - Method in class com.takenoko.stats.HistoryStatistics
- incrementNumberOfVictory(BotManager) - Method in class com.takenoko.engine.Scoreboard
- incrementWins() - Method in class com.takenoko.stats.SingleBotStatistics
- incrementWins(BotManager) - Method in class com.takenoko.stats.BotStatistics
- INITIALIZED - Enum constant in enum class com.takenoko.engine.GameState
-
INITIALIZED state is used when the game is created but not started yet.
- inventory - Variable in class com.takenoko.engine.BotState
- Inventory - Class in com.takenoko.inventory
-
Inventory contains elements stored by player
- Inventory() - Constructor for class com.takenoko.inventory.Inventory
-
Constructor
- Inventory(Inventory) - Constructor for class com.takenoko.inventory.Inventory
-
Constructor
- Inventory(Map<TileColor, InventoryBambooStack>) - Constructor for class com.takenoko.inventory.Inventory
-
Constructor
- Inventory(Map<TileColor, InventoryBambooStack>, InventoryImprovements) - Constructor for class com.takenoko.inventory.Inventory
-
Constructor
- InventoryBambooStack - Class in com.takenoko.inventory
-
InventoryBambooStack represents the bamboos collected by the player
- InventoryBambooStack(int) - Constructor for class com.takenoko.inventory.InventoryBambooStack
- InventoryBambooStack(InventoryBambooStack) - Constructor for class com.takenoko.inventory.InventoryBambooStack
- inventoryImprovements - Variable in class com.takenoko.inventory.Inventory
- InventoryImprovements - Class in com.takenoko.inventory
-
InventoryImprovements contains the improvements picked by the player after getting Cloudy weather InventoryImprovements is an attribute in Inventory
- InventoryImprovements() - Constructor for class com.takenoko.inventory.InventoryImprovements
- InventoryImprovements(List<ImprovementType>) - Constructor for class com.takenoko.inventory.InventoryImprovements
- irrigation - Variable in class com.takenoko.layers.irrigation.IrrigationLayer
- IrrigationChannelPosition - Record Class in com.takenoko.layers.irrigation
-
This record represents an irrigation channel Position
- IrrigationChannelPosition(PositionVector, PositionVector) - Constructor for record class com.takenoko.layers.irrigation.IrrigationChannelPosition
-
Creates an instance of a
IrrigationChannelPosition
record class. - irrigationChannelsCount - Variable in class com.takenoko.inventory.Inventory
- irrigationChannelsPositions - Variable in class com.takenoko.layers.irrigation.IrrigationLayer
- irrigationDeck - Variable in class com.takenoko.asset.GameAssets
- IrrigationDeck - Class in com.takenoko.asset
-
IrrigationDeck represents the irrigation deck, defaults to 20 irrigation.
- IrrigationDeck() - Constructor for class com.takenoko.asset.IrrigationDeck
-
Creates a new IrrigationDeck with the default size.
- irrigationLayer - Variable in class com.takenoko.engine.Board
- IrrigationLayer - Class in com.takenoko.layers.irrigation
- IrrigationLayer() - Constructor for class com.takenoko.layers.irrigation.IrrigationLayer
- IrrigationLayer(IrrigationLayer) - Constructor for class com.takenoko.layers.irrigation.IrrigationLayer
- IrrigationMaster - Class in com.takenoko.bot
- IrrigationMaster() - Constructor for class com.takenoko.bot.IrrigationMaster
- IrrigationMaster(Map<String, Integer>) - Constructor for class com.takenoko.bot.IrrigationMaster
- IrrigationPathFinding - Class in com.takenoko.bot.utils.pathfinding.irrigation
- IrrigationPathFinding() - Constructor for class com.takenoko.bot.utils.pathfinding.irrigation.IrrigationPathFinding
- IRRIGATIONS_PLACED - Static variable in class com.takenoko.stats.SingleBotStatistics
- irrigationToPlace - Variable in class com.takenoko.bot.unitary.SmartPlaceIrrigation
- isAchieved() - Method in class com.takenoko.objective.Objective
-
Whether the objective has been achieved.
- isBambooEatableAt(PositionVector) - Method in class com.takenoko.engine.Board
-
Check if the bamboo at the position is eatable.
- isBambooGrowableAt(PositionVector) - Method in class com.takenoko.engine.Board
- isEatable() - Method in class com.takenoko.layers.bamboo.LayerBambooStack
- isEatableAt(PositionVector, Board) - Method in class com.takenoko.layers.bamboo.BambooLayer
- isEmpty() - Method in class com.takenoko.layers.bamboo.BambooStack
- isGrowable() - Method in class com.takenoko.layers.bamboo.LayerBambooStack
- isGrowableAt(PositionVector, Board) - Method in class com.takenoko.layers.bamboo.BambooLayer
- isIrrigatedAt(PositionVector) - Method in class com.takenoko.engine.Board
- isIrrigatedAt(PositionVector) - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- isMovePossible(PositionVector, Board) - Method in class com.takenoko.actors.Actor
-
Check if the move is possible.
- isMovePossible(PositionVector, Board) - Method in class com.takenoko.actors.Panda
-
If the weather is a storm, the panda can move wherever he wants.
- isObjectiveDeckEmpty() - Method in class com.takenoko.engine.Board
- isPositionAvailable(PositionVector) - Method in class com.takenoko.layers.tile.TileLayer
-
Check if a position is available.
- isTile(PositionVector) - Method in class com.takenoko.engine.Board
-
Returns if the position is a tile.
- isTile(PositionVector) - Method in class com.takenoko.layers.tile.TileLayer
-
Check if there is a tile at the given position.
- isTileDeckEmpty() - Method in class com.takenoko.engine.Board
- isTileEligible(Tile) - Method in class com.takenoko.objective.SingleGardenerObjective
- ITERATION_LIMIT - Static variable in class com.takenoko.bot.utils.pathfinding.irrigation.IrrigationPathFinding
L
- lastDrawnImprovement - Variable in class com.takenoko.asset.ImprovementDeck
- lastDrawnObjective - Variable in class com.takenoko.asset.ObjectiveDeck
- lastRoll - Variable in class com.takenoko.weather.Dice
- LATE_GAME - Enum constant in enum class com.takenoko.bot.utils.GameProgress
- LATE_GAME_THRESHOLD - Static variable in class com.takenoko.bot.utils.HistoryAnalysis
- LayerBambooStack - Class in com.takenoko.layers.bamboo
- LayerBambooStack(int) - Constructor for class com.takenoko.layers.bamboo.LayerBambooStack
- leftTilePosition - Variable in record class com.takenoko.layers.irrigation.IrrigationChannelPosition
-
The field for the
leftTilePosition
record component. - leftTilePosition() - Method in record class com.takenoko.layers.irrigation.IrrigationChannelPosition
-
Returns the value of the
leftTilePosition
record component. - length() - Method in class com.takenoko.vector.Vector
-
Determine the length of the vector.
- Line - Class in com.takenoko.shape
-
Build a solid color Line pattern
- Line(TileColor) - Constructor for class com.takenoko.shape.Line
- LINE - Enum constant in enum class com.takenoko.shape.PatternFactory
- logger - Variable in class com.takenoko.Main
- logger - Variable in class com.takenoko.ui.ConsoleUserInterface
- LOSSES - Static variable in class com.takenoko.stats.SingleBotStatistics
M
- main(String[]) - Static method in class com.takenoko.Main
- Main - Class in com.takenoko
- Main() - Constructor for class com.takenoko.Main
- match(Board) - Method in class com.takenoko.shape.Pattern
-
Method to match a shape on the board.
- match(Board, boolean) - Method in class com.takenoko.shape.Pattern
- match(Board, PositionVector, Tile) - Method in class com.takenoko.objective.SingleGardenerObjective
- MAX_BAMBOO - Static variable in class com.takenoko.layers.bamboo.LayerBambooStack
- MAX_OBJECTIVES - Static variable in class com.takenoko.engine.BotState
- maxIrrigationToChooseToDraw - Variable in class com.takenoko.bot.unitary.SmartDrawIrrigation
- MID_GAME - Enum constant in enum class com.takenoko.bot.utils.GameProgress
- MID_GAME_THRESHOLD - Static variable in class com.takenoko.bot.utils.HistoryAnalysis
- MIXED_COLORS_DIAMOND - Enum constant in enum class com.takenoko.shape.PatternFactory
- MixedColorsDiamond - Class in com.takenoko.shape
-
Build a mixed color Diamond pattern
- MixedColorsDiamond(TileColor) - Constructor for class com.takenoko.shape.MixedColorsDiamond
- move(PositionVector, Board) - Method in class com.takenoko.actors.Actor
-
Move the panda with a vector and try to eat bamboo.
- moveGardener(PositionVector) - Method in class com.takenoko.engine.Board
-
Move the gardener with a vector.
- MoveGardenerAction - Class in com.takenoko.actions.actors
-
Action to move a gardener.
- MoveGardenerAction(PositionVector) - Constructor for class com.takenoko.actions.actors.MoveGardenerAction
-
Constructor for the MoveGardenerAction class.
- movePanda(PositionVector) - Method in class com.takenoko.engine.Board
-
Move the panda with a vector.
- MovePandaAction - Class in com.takenoko.actions.actors
-
This class represents the action of moving the panda.
- MovePandaAction(PositionVector) - Constructor for class com.takenoko.actions.actors.MovePandaAction
-
Constructor for the MovePandaAction class.
- MultipleGardenerObjective - Class in com.takenoko.objective
-
Objective is to complete a certain number of single gardener objectives.
- MultipleGardenerObjective(MultipleGardenerObjective, int) - Constructor for class com.takenoko.objective.MultipleGardenerObjective
- MultipleGardenerObjective(SingleGardenerObjective, int, int) - Constructor for class com.takenoko.objective.MultipleGardenerObjective
- multiply(double) - Method in class com.takenoko.vector.Vector
-
Multiply the vector by a scalar.
N
- name - Variable in class com.takenoko.engine.BotManager
- newGame() - Method in class com.takenoko.engine.GameEngine
-
This method creates a blank new game.
- nextRound() - Method in class com.takenoko.engine.Board
- Node - Record Class in com.takenoko.bot.utils.pathfinding.irrigation
- Node(Board, int, int, Node, EdgePosition) - Constructor for record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Creates an instance of a
Node
record class. - NONE - Enum constant in enum class com.takenoko.layers.tile.ImprovementType
- NONE - Enum constant in enum class com.takenoko.layers.tile.TileColor
- normalize() - Method in class com.takenoko.vector.Vector
-
Normalize the vector.
- NORTH - Enum constant in enum class com.takenoko.vector.Direction
- NORTH_EAST - Enum constant in enum class com.takenoko.vector.Direction
- NORTH_WEST - Enum constant in enum class com.takenoko.vector.Direction
- NOT_ACHIEVED - Enum constant in enum class com.takenoko.objective.ObjectiveState
- numberOfActions - Variable in class com.takenoko.engine.ActionManager
- numberOfRounds - Variable in class com.takenoko.engine.GameEngine
- numberOfTimes - Variable in class com.takenoko.objective.MultipleGardenerObjective
- numberOfVictoryHashMap - Variable in class com.takenoko.engine.Scoreboard
- numericStats - Variable in class com.takenoko.stats.SingleBotStatistics
O
- objective - Variable in class com.takenoko.actions.objective.RedeemObjectiveAction
- objective - Variable in class com.takenoko.objective.MultipleGardenerObjective
- Objective - Class in com.takenoko.objective
- Objective(ObjectiveType, ObjectiveState, int) - Constructor for class com.takenoko.objective.Objective
- objectiveAverage(ObjectiveType) - Method in class com.takenoko.stats.GameProgressStatistics
- objectiveDeck - Variable in class com.takenoko.asset.GameAssets
- ObjectiveDeck - Class in com.takenoko.asset
-
The deck containing all the different objectives.
- ObjectiveDeck() - Constructor for class com.takenoko.asset.ObjectiveDeck
- ObjectiveDeck(Random) - Constructor for class com.takenoko.asset.ObjectiveDeck
- objectiveManager - Variable in class com.takenoko.engine.BotState
- ObjectiveManager - Class in com.takenoko.engine
-
This class is used to manage the objectives of the bot.
- ObjectiveManager() - Constructor for class com.takenoko.engine.ObjectiveManager
- ObjectiveManager(ObjectiveManager) - Constructor for class com.takenoko.engine.ObjectiveManager
- objectives - Variable in class com.takenoko.engine.ObjectiveManager
- objectives - Variable in class com.takenoko.stats.GameProgressStatistics
- objectivesRedeemed - Variable in class com.takenoko.stats.SingleBotStatistics
- ObjectiveState - Enum Class in com.takenoko.objective
- ObjectiveState() - Constructor for enum class com.takenoko.objective.ObjectiveState
- objectiveType - Variable in class com.takenoko.actions.objective.DrawObjectiveAction
- ObjectiveType - Enum Class in com.takenoko.objective
- ObjectiveType() - Constructor for enum class com.takenoko.objective.ObjectiveType
- OTHER - Enum constant in enum class com.takenoko.layers.tile.TileType
-
Type of the tile is not a pond.
P
- panda - Variable in class com.takenoko.engine.Board
- Panda - Class in com.takenoko.actors
-
Panda class.
- Panda() - Constructor for class com.takenoko.actors.Panda
-
Constructor for the Panda class.
- Panda(Panda) - Constructor for class com.takenoko.actors.Panda
- Panda(PositionVector) - Constructor for class com.takenoko.actors.Panda
-
Constructor for the Panda class.
- PANDA - Enum constant in enum class com.takenoko.objective.ObjectiveType
- PandaObjective - Class in com.takenoko.objective
-
The Panda objective.
- PandaObjective(PandaObjective) - Constructor for class com.takenoko.objective.PandaObjective
- PandaObjective(Map<TileColor, Integer>, int) - Constructor for class com.takenoko.objective.PandaObjective
- PandaPathfinding - Class in com.takenoko.bot.utils.pathfinding.panda
- PandaPathfinding() - Constructor for class com.takenoko.bot.utils.pathfinding.panda.PandaPathfinding
- params - Variable in class com.takenoko.bot.IrrigationMaster
- params - Variable in class com.takenoko.bot.WeatherMaster
- parent - Variable in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
The field for the
parent
record component. - parent() - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Returns the value of the
parent
record component. - pattern - Variable in class com.takenoko.objective.PatternObjective
- Pattern - Class in com.takenoko.shape
-
Class representing a pattern.
- Pattern(List<Map.Entry<PositionVector, Tile>>) - Constructor for class com.takenoko.shape.Pattern
- Pattern(Pair<PositionVector, Tile>...) - Constructor for class com.takenoko.shape.Pattern
-
Constructor for the Pattern class.
- PatternFactory - Enum Class in com.takenoko.shape
-
This class is a factory for the creation of patterns.
- PatternFactory() - Constructor for enum class com.takenoko.shape.PatternFactory
- PatternObjective - Class in com.takenoko.objective
- PatternObjective(Pattern, int) - Constructor for class com.takenoko.objective.PatternObjective
- peek() - Method in class com.takenoko.asset.ImprovementDeck
- peek() - Method in class com.takenoko.asset.ObjectiveDeck
- peek() - Method in class com.takenoko.asset.TileDeck
- peek() - Method in class com.takenoko.weather.Dice
- peekImprovement() - Method in class com.takenoko.engine.Board
-
Returns last improvement drawn.
- peekObjectiveDeck() - Method in class com.takenoko.engine.Board
- peekTileDeck() - Method in class com.takenoko.engine.Board
- peekWeather() - Method in class com.takenoko.engine.Board
- peekWeather() - Method in class com.takenoko.weather.WeatherDice
- percentageOfIrrigation - Variable in class com.takenoko.stats.BoardStatistics
- PINK - Enum constant in enum class com.takenoko.layers.tile.TileColor
- placeIrrigation(EdgePosition) - Method in class com.takenoko.engine.Board
- placeIrrigation(EdgePosition, Board) - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- PlaceIrrigationAction - Class in com.takenoko.actions.irrigation
-
Action to place an irrigation channel on the board.
- PlaceIrrigationAction(EdgePosition) - Constructor for class com.takenoko.actions.irrigation.PlaceIrrigationAction
- PlaceIrrigationFromInventoryAction - Class in com.takenoko.actions.irrigation
- PlaceIrrigationFromInventoryAction(EdgePosition) - Constructor for class com.takenoko.actions.irrigation.PlaceIrrigationFromInventoryAction
- placeTile(Tile, PositionVector) - Method in class com.takenoko.engine.Board
-
Place a tile on the board.
- placeTile(Tile, PositionVector, Board) - Method in class com.takenoko.layers.tile.TileLayer
-
Place a tile on the board.
- PlaceTileAction - Class in com.takenoko.actions.tile
-
This class represents the action of placing a tile on the board.
- PlaceTileAction(Tile, PositionVector) - Constructor for class com.takenoko.actions.tile.PlaceTileAction
-
Constructor for the PlaceTileAction class.
- PlaceTileWithImprovementAction - Class in com.takenoko.actions.tile
-
This class represents the action of placing a tile on the board with an improvement from the inventory.
- PlaceTileWithImprovementAction(Tile, PositionVector, ImprovementType) - Constructor for class com.takenoko.actions.tile.PlaceTileWithImprovementAction
- playBot(Board, History) - Method in class com.takenoko.engine.BotManager
-
Ask for the bot to choose an action based on his algorithm and then execute the returned action.
- playGame() - Method in class com.takenoko.engine.GameEngine
- PLAYING - Enum constant in enum class com.takenoko.engine.GameState
-
PLAYING state is used when the game is currently being played.
- points - Variable in class com.takenoko.objective.Objective
- Pond - Class in com.takenoko.layers.tile
-
Class Pond represents a pond in the game.
- Pond() - Constructor for class com.takenoko.layers.tile.Pond
- POND - Enum constant in enum class com.takenoko.layers.tile.TileType
-
Type of the tile is a pond.
- position - Variable in class com.takenoko.actions.bamboo.GrowBambooAction
- position - Variable in class com.takenoko.actors.Actor
- positionMessage() - Method in class com.takenoko.actors.Gardener
- positionMessage() - Method in class com.takenoko.actors.Panda
- positions - Variable in class com.takenoko.layers.irrigation.EdgePosition
- positionVector - Variable in class com.takenoko.actions.improvement.ApplyImprovementAction
- positionVector - Variable in class com.takenoko.actions.irrigation.PlaceIrrigationFromInventoryAction
- positionVector - Variable in class com.takenoko.actions.tile.PlaceTileAction
- PositionVector - Class in com.takenoko.vector
- PositionVector(int, int, int) - Constructor for class com.takenoko.vector.PositionVector
-
Constructor for the Vector class.
- PositionVector(Vector) - Constructor for class com.takenoko.vector.PositionVector
- PriorityBot - Class in com.takenoko.bot
- PriorityBot() - Constructor for class com.takenoko.bot.PriorityBot
Q
- q - Variable in class com.takenoko.vector.Vector
- q() - Method in class com.takenoko.vector.Vector
- QUESTION_MARK - Enum constant in enum class com.takenoko.weather.WeatherFactory
-
If he gets the “?” face, the player chooses what conditions they wish to apply this turn: Sun, Rain, Wind, Storm or Clouds.
- QuestionMark - Class in com.takenoko.weather
-
Weather that makes the player choose a weather from the deck.
- QuestionMark() - Constructor for class com.takenoko.weather.QuestionMark
R
- r - Variable in class com.takenoko.vector.Vector
- r() - Method in class com.takenoko.vector.Vector
- Rainy - Class in com.takenoko.weather
-
A fine rain nourishes the young bamboo shoots.
- Rainy() - Constructor for class com.takenoko.weather.Rainy
- RAINY - Enum constant in enum class com.takenoko.weather.WeatherFactory
-
A fine rain nourishes the young bamboo shoots.
- random - Variable in class com.takenoko.asset.ObjectiveDeck
- random - Variable in class com.takenoko.asset.TileDeck
- random - Variable in class com.takenoko.bot.FullRandomBot
- random - Variable in class com.takenoko.weather.Dice
- randomBot - Variable in class com.takenoko.bot.RushPandaBot
- readData(List<String[]>) - Method in class com.takenoko.stats.BotCSVExporter
- readData(List<String[]>) - Method in class com.takenoko.stats.CSVExporter
- READY - Enum constant in enum class com.takenoko.engine.GameState
-
READY state is used when the game is ready to be played.
- rebuildPath(Node) - Static method in class com.takenoko.bot.utils.pathfinding.irrigation.IrrigationPathFinding
- redeemedObjectives - Variable in record class com.takenoko.engine.HistoryItem
-
The field for the
redeemedObjectives
record component. - redeemedObjectives - Variable in class com.takenoko.engine.ObjectiveManager
- redeemedObjectives() - Method in record class com.takenoko.engine.HistoryItem
-
Returns the value of the
redeemedObjectives
record component. - redeemObjective(Objective) - Method in class com.takenoko.engine.BotManager
- redeemObjective(Objective) - Method in class com.takenoko.engine.BotState
-
redeem an objective
- redeemObjective(Objective, BotState) - Method in class com.takenoko.engine.ObjectiveManager
-
redeem an objective
- RedeemObjectiveAction - Class in com.takenoko.actions.objective
-
This class is an action to redeem an objective.
- RedeemObjectiveAction(Objective) - Constructor for class com.takenoko.actions.objective.RedeemObjectiveAction
- relativePositionVector - Variable in class com.takenoko.actions.actors.MoveGardenerAction
- relativePositionVector - Variable in class com.takenoko.actions.actors.MovePandaAction
- reset() - Method in class com.takenoko.engine.ActionManager
- reset() - Method in class com.takenoko.engine.BotManager
- reset() - Method in class com.takenoko.engine.BotState
-
reset everything to the default values
- reset() - Method in class com.takenoko.engine.ObjectiveManager
-
Reset all the attributes of the ObjectiveManager
- reset() - Method in class com.takenoko.objective.EmperorObjective
- reset() - Method in class com.takenoko.objective.MultipleGardenerObjective
- reset() - Method in class com.takenoko.objective.Objective
- reset() - Method in class com.takenoko.objective.PandaObjective
- reset() - Method in class com.takenoko.objective.PatternObjective
- reset() - Method in class com.takenoko.objective.SingleGardenerObjective
- reset() - Method in class com.takenoko.stats.SingleBotStatistics
- resetAvailableActions(Board) - Method in class com.takenoko.engine.BotState
-
reset the available actions
- resetAvailableActions(Board, BotState) - Method in class com.takenoko.engine.ActionManager
-
reset the available actions
- resetWeather() - Method in class com.takenoko.engine.Board
-
Changes the weather to null.
- revert(Board, BotManager) - Method in class com.takenoko.weather.Cloudy
- revert(Board, BotManager) - Method in class com.takenoko.weather.QuestionMark
- revert(Board, BotManager) - Method in class com.takenoko.weather.Rainy
- revert(Board, BotManager) - Method in class com.takenoko.weather.Stormy
- revert(Board, BotManager) - Method in class com.takenoko.weather.Sunny
- revert(Board, BotManager) - Method in class com.takenoko.weather.Weather
- revert(Board, BotManager) - Method in class com.takenoko.weather.Windy
- rightTilePosition - Variable in record class com.takenoko.layers.irrigation.IrrigationChannelPosition
-
The field for the
rightTilePosition
record component. - rightTilePosition() - Method in record class com.takenoko.layers.irrigation.IrrigationChannelPosition
-
Returns the value of the
rightTilePosition
record component. - roll() - Method in class com.takenoko.weather.Dice
-
Roll the dice
- rollWeather() - Method in class com.takenoko.engine.Board
- rollWeather() - Method in class com.takenoko.weather.WeatherDice
-
Roll the dice to get a Weather
- rotate60() - Method in class com.takenoko.shape.Shape
-
Returns a new shape with the same pattern but rotated 60 degrees around the rotation origin of the shape.
- rotate60() - Method in class com.takenoko.vector.Vector
-
Rotate the vector by 60 degrees.
- rotate60(PositionVector) - Method in class com.takenoko.shape.Shape
-
Returns a new shape with the same pattern but rotated 60 degrees around the given rotation rotationOrigin.
- roundNumber - Variable in class com.takenoko.engine.Board
- run() - Method in class com.takenoko.Main
- runGame() - Method in class com.takenoko.engine.GameEngine
-
Run a whole game from initialization to end.
- runGame(int) - Method in class com.takenoko.engine.GameEngine
- runGame(int, boolean) - Method in class com.takenoko.engine.GameEngine
- RushPandaBot - Class in com.takenoko.bot
- RushPandaBot() - Constructor for class com.takenoko.bot.RushPandaBot
S
- s - Variable in class com.takenoko.vector.Vector
- s() - Method in class com.takenoko.vector.Vector
- scoreboard - Variable in class com.takenoko.engine.GameEngine
- Scoreboard - Class in com.takenoko.engine
-
This class is used to store the number of win for each bot.
- Scoreboard() - Constructor for class com.takenoko.engine.Scoreboard
- SCOREBOARD - Static variable in class com.takenoko.ui.ConsoleUserInterface
- setCurrentBotManagerUUID(UUID) - Method in class com.takenoko.engine.History
- setGameState(GameState) - Method in class com.takenoko.engine.GameEngine
- setImprovement(ImprovementType) - Method in class com.takenoko.layers.tile.Tile
-
Set the improvement of the tile.
- setNumberOfActions(int) - Method in class com.takenoko.engine.ActionManager
-
Set the number of actions the bot can do in a turn.
- setNumberOfActions(int) - Method in class com.takenoko.engine.BotState
- setObjectiveAchieved(Objective) - Method in class com.takenoko.engine.BotManager
- setObjectiveAchieved(Objective) - Method in class com.takenoko.engine.BotState
-
set an objective as achieved
- setObjectiveAchieved(Objective) - Method in class com.takenoko.engine.ObjectiveManager
-
set an objective as achieved
- setObjectiveNotAchieved(Objective) - Method in class com.takenoko.engine.BotState
-
set an objective as not achieved
- setObjectiveNotAchieved(Objective) - Method in class com.takenoko.engine.ObjectiveManager
-
set an objective as not achieved
- setStartingDeck(List<Objective>) - Method in class com.takenoko.engine.BotManager
-
Set the starting deck
- setStartingDeck(List<Objective>) - Method in class com.takenoko.engine.BotState
-
Set the starting deck
- setStartingDeck(List<Objective>) - Method in class com.takenoko.engine.ObjectiveManager
-
Set the starting deck for a bot
- setWeather(Weather) - Method in class com.takenoko.engine.Board
- Shape - Class in com.takenoko.shape
-
Class representing a Shape.
- Shape(Shape) - Constructor for class com.takenoko.shape.Shape
- Shape(PositionVector...) - Constructor for class com.takenoko.shape.Shape
-
Constructor of the Shape class.
- Shape(Map<PositionVector, Tile>) - Constructor for class com.takenoko.shape.Shape
-
Constructor for the Shape class.
- Shape(Map<PositionVector, Tile>, PositionVector) - Constructor for class com.takenoko.shape.Shape
-
Constructor for the Shape class.
- Shape(Pair<PositionVector, Tile>...) - Constructor for class com.takenoko.shape.Shape
-
Constructor of the Shape class.
- SHAPE - Enum constant in enum class com.takenoko.objective.ObjectiveType
- shuffle() - Method in class com.takenoko.asset.TileDeck
- sides - Variable in class com.takenoko.weather.Dice
- singleBotStatistics - Variable in class com.takenoko.engine.BotManager
- SingleBotStatistics - Class in com.takenoko.stats
-
This class represents an extended list of statistics for a specific BotManager
- SingleBotStatistics() - Constructor for class com.takenoko.stats.SingleBotStatistics
- SingleBotStatistics(int, int, int) - Constructor for class com.takenoko.stats.SingleBotStatistics
- SingleBotStatistics(SingleBotStatistics) - Constructor for class com.takenoko.stats.SingleBotStatistics
- SingleBotStatistics(Map<String, Integer>, Map<ObjectiveType, Integer>, Map<TileColor, MutablePair<Integer, Integer>>, Map<TileColor, Integer>, Map<String, MutablePair<Integer, Integer>>, Map<String, Integer>, int) - Constructor for class com.takenoko.stats.SingleBotStatistics
- SingleGardenerObjective - Class in com.takenoko.objective
-
Class SingleGardenerObjective represents a single gardener objective.
- SingleGardenerObjective(int, TileColor, int) - Constructor for class com.takenoko.objective.SingleGardenerObjective
- SingleGardenerObjective(int, TileColor, ImprovementType, int) - Constructor for class com.takenoko.objective.SingleGardenerObjective
- size - Variable in class com.takenoko.asset.IrrigationDeck
- SmartApplyWeather - Class in com.takenoko.bot.unitary
- SmartApplyWeather() - Constructor for class com.takenoko.bot.unitary.SmartApplyWeather
- SmartApplyWind - Class in com.takenoko.bot.unitary
- SmartApplyWind() - Constructor for class com.takenoko.bot.unitary.SmartApplyWind
- SmartChooseAndApplyWeather - Class in com.takenoko.bot.unitary
- SmartChooseAndApplyWeather() - Constructor for class com.takenoko.bot.unitary.SmartChooseAndApplyWeather
- SmartChooseAndApplyWeather(Weather) - Constructor for class com.takenoko.bot.unitary.SmartChooseAndApplyWeather
- SmartDrawImprovement - Class in com.takenoko.bot.unitary
-
This bot will draw improvement if there is less than the number of improvement in the inventory.
- SmartDrawImprovement(Map<ImprovementType, Integer>) - Constructor for class com.takenoko.bot.unitary.SmartDrawImprovement
- SmartDrawIrrigation - Class in com.takenoko.bot.unitary
- SmartDrawIrrigation(int) - Constructor for class com.takenoko.bot.unitary.SmartDrawIrrigation
- SmartGardener - Class in com.takenoko.bot.unitary
- SmartGardener() - Constructor for class com.takenoko.bot.unitary.SmartGardener
- SmartObjective - Class in com.takenoko.bot.unitary
- SmartObjective() - Constructor for class com.takenoko.bot.unitary.SmartObjective
- SmartPanda - Class in com.takenoko.bot.unitary
- SmartPanda() - Constructor for class com.takenoko.bot.unitary.SmartPanda
- SmartPattern - Class in com.takenoko.bot.unitary
- SmartPattern() - Constructor for class com.takenoko.bot.unitary.SmartPattern
- SmartPlaceIrrigation - Class in com.takenoko.bot.unitary
- SmartPlaceIrrigation() - Constructor for class com.takenoko.bot.unitary.SmartPlaceIrrigation
- SmartStoreIrrigation - Class in com.takenoko.bot.unitary
- SmartStoreIrrigation() - Constructor for class com.takenoko.bot.unitary.SmartStoreIrrigation
- SOUTH - Enum constant in enum class com.takenoko.vector.Direction
- SOUTH_EAST - Enum constant in enum class com.takenoko.vector.Direction
- SOUTH_WEST - Enum constant in enum class com.takenoko.vector.Direction
- startGame() - Method in class com.takenoko.engine.GameEngine
-
This method change the game state to playing and add the first tile to the board.
- state - Variable in class com.takenoko.objective.Objective
- statSummary(int) - Method in class com.takenoko.engine.GameEngine
- store(ImprovementType) - Method in class com.takenoko.inventory.InventoryImprovements
- storeImprovement(ImprovementType) - Method in class com.takenoko.inventory.Inventory
- StoreImprovementAction - Class in com.takenoko.actions.improvement
-
Action to store an improvement in the inventory.
- StoreImprovementAction() - Constructor for class com.takenoko.actions.improvement.StoreImprovementAction
- StoreIrrigationInInventoryAction - Class in com.takenoko.actions.irrigation
- StoreIrrigationInInventoryAction() - Constructor for class com.takenoko.actions.irrigation.StoreIrrigationInInventoryAction
- Stormy - Class in com.takenoko.weather
-
The sky rumbles and lightning strikes, frightening the panda.
- Stormy() - Constructor for class com.takenoko.weather.Stormy
- STORMY - Enum constant in enum class com.takenoko.weather.WeatherFactory
-
The sky rumbles and lightning strikes, frightening the panda.
- sub(Vector) - Method in class com.takenoko.vector.Vector
-
Subtract two vectors.
- Sunny - Class in com.takenoko.weather
-
Weather that adds a new action to the bot.
- Sunny() - Constructor for class com.takenoko.weather.Sunny
- SUNNY - Enum constant in enum class com.takenoko.weather.WeatherFactory
-
A great sun shines on the bamboo grove.
T
- targetColor - Variable in class com.takenoko.objective.SingleGardenerObjective
- targetImprovementType - Variable in class com.takenoko.objective.SingleGardenerObjective
- targetSize - Variable in class com.takenoko.objective.SingleGardenerObjective
- THE_SHAPE_CANNOT_BE_EMPTY_EXCEPTION - Static variable in class com.takenoko.shape.Shape
- thousands - Variable in class com.takenoko.Main
- TIE - Enum constant in enum class com.takenoko.engine.EndGameState
-
TIE state is used when the game is tied on objective points and tied on panda objective points.
- tile - Variable in class com.takenoko.actions.tile.PlaceTileAction
- Tile - Class in com.takenoko.layers.tile
-
Class Tile represents a tile in the game.
- Tile() - Constructor for class com.takenoko.layers.tile.Tile
-
Constructor of the class Tile.
- Tile(ImprovementType) - Constructor for class com.takenoko.layers.tile.Tile
- Tile(ImprovementType, TileColor) - Constructor for class com.takenoko.layers.tile.Tile
- Tile(Tile) - Constructor for class com.takenoko.layers.tile.Tile
-
Copy Constructor
- Tile(TileColor) - Constructor for class com.takenoko.layers.tile.Tile
- Tile(TileType) - Constructor for class com.takenoko.layers.tile.Tile
-
Constructor of the class Tile.
- Tile(TileType, ImprovementType, TileColor) - Constructor for class com.takenoko.layers.tile.Tile
-
Constructor of the class Tile.
- TileColor - Enum Class in com.takenoko.layers.tile
- TileColor() - Constructor for enum class com.takenoko.layers.tile.TileColor
- tileDeck - Variable in class com.takenoko.asset.GameAssets
- TileDeck - Class in com.takenoko.asset
-
The deck containing all the improvement chips you can place on the tiles.
- TileDeck() - Constructor for class com.takenoko.asset.TileDeck
- TileDeck(Random) - Constructor for class com.takenoko.asset.TileDeck
- tileLayer - Variable in class com.takenoko.engine.Board
- TileLayer - Class in com.takenoko.layers.tile
-
The TileLayer class is used to manage the tiles on the board.
- TileLayer() - Constructor for class com.takenoko.layers.tile.TileLayer
-
Create a new TileLayer.
- TileLayer(TileLayer) - Constructor for class com.takenoko.layers.tile.TileLayer
- tiles - Variable in class com.takenoko.layers.tile.TileLayer
- tilesPlaced - Variable in class com.takenoko.stats.BoardStatistics
- tilesPlaced - Variable in class com.takenoko.stats.SingleBotStatistics
- TileType - Enum Class in com.takenoko.layers.tile
-
Type of the Tile.
- TileType() - Constructor for enum class com.takenoko.layers.tile.TileType
- toPositionVector() - Method in class com.takenoko.vector.Vector
- toString() - Method in record class com.takenoko.actions.ActionResult
-
Returns a string representation of this record class.
- toString() - Method in class com.takenoko.actions.actors.ForcedMovePandaAction
- toString() - Method in class com.takenoko.actions.actors.MovePandaAction
- toString() - Method in class com.takenoko.asset.ImprovementDeck
- toString() - Method in class com.takenoko.asset.IrrigationDeck
- toString() - Method in class com.takenoko.asset.ObjectiveDeck
- toString() - Method in class com.takenoko.asset.TileDeck
- toString() - Method in record class com.takenoko.bot.utils.pathfinding.irrigation.Node
-
Returns a string representation of this record class.
- toString() - Method in class com.takenoko.engine.BotManager
- toString() - Method in record class com.takenoko.engine.HistoryItem
-
Returns a string representation of this record class.
- toString() - Method in class com.takenoko.engine.Scoreboard
- toString() - Method in class com.takenoko.inventory.Inventory
- toString() - Method in class com.takenoko.inventory.InventoryBambooStack
- toString() - Method in class com.takenoko.layers.irrigation.EdgePosition
- toString() - Method in record class com.takenoko.layers.irrigation.IrrigationChannelPosition
-
Returns a string representation of this record class.
- toString() - Method in class com.takenoko.layers.tile.Tile
- toString() - Method in class com.takenoko.objective.EmperorObjective
- toString() - Method in class com.takenoko.objective.MultipleGardenerObjective
- toString() - Method in class com.takenoko.objective.PandaObjective
- toString() - Method in class com.takenoko.objective.PatternObjective
- toString() - Method in class com.takenoko.objective.SingleGardenerObjective
- toString() - Method in class com.takenoko.shape.Curve
- toString() - Method in class com.takenoko.shape.Diamond
- toString() - Method in class com.takenoko.shape.Line
- toString() - Method in class com.takenoko.shape.MixedColorsDiamond
- toString() - Method in class com.takenoko.shape.Shape
- toString() - Method in class com.takenoko.shape.Triangle
- toString() - Method in class com.takenoko.stats.BoardStatistics
- toString() - Method in class com.takenoko.stats.BotStatistics
- toString() - Method in class com.takenoko.stats.GameProgressStatistics
- toString() - Method in class com.takenoko.stats.HistoryStatistics
- toString() - Method in class com.takenoko.stats.HistoryStatisticsItem
- toString() - Method in class com.takenoko.stats.SingleBotStatistics
- toString() - Method in class com.takenoko.vector.Vector
- toString() - Method in class com.takenoko.weather.Cloudy
- toString() - Method in class com.takenoko.weather.QuestionMark
- toString() - Method in class com.takenoko.weather.Rainy
- toString() - Method in class com.takenoko.weather.Stormy
- toString() - Method in class com.takenoko.weather.Sunny
- toString() - Method in class com.takenoko.weather.Weather
- toString() - Method in class com.takenoko.weather.Windy
- totalNbOfAction - Variable in class com.takenoko.stats.GameProgressStatistics
- totalNbOfAction - Variable in class com.takenoko.stats.SingleBotStatistics
- totalNbOfRedeemedObjectives - Variable in class com.takenoko.stats.GameProgressStatistics
- totalNbOfRounds - Variable in class com.takenoko.stats.GameProgressStatistics
- totalNbOfTiles - Variable in class com.takenoko.stats.BoardStatistics
- totalScore - Variable in class com.takenoko.engine.Scoreboard
- translate(PositionVector) - Method in class com.takenoko.shape.Shape
-
Returns a new shape with the same pattern but translated by the given vector.
- Triangle - Class in com.takenoko.shape
-
Build a solid color Line pattern
- Triangle(TileColor) - Constructor for class com.takenoko.shape.Triangle
- TRIANGLE - Enum constant in enum class com.takenoko.shape.PatternFactory
- TurnHistory - Class in com.takenoko.engine
- TurnHistory(HistoryItem...) - Constructor for class com.takenoko.engine.TurnHistory
- TWO_THOUSANDS_NB_GAMES - Static variable in class com.takenoko.Main
- type - Variable in class com.takenoko.layers.tile.Tile
- type - Variable in class com.takenoko.objective.Objective
U
- uniqueID - Variable in class com.takenoko.engine.BotManager
- update(Board) - Method in class com.takenoko.engine.BotState
-
update the objectives
- update(TurnHistory) - Method in class com.takenoko.stats.GameProgressStatistics
- updateActions(Action) - Method in class com.takenoko.stats.GameProgressStatistics
- updateActions(String) - Method in class com.takenoko.stats.SingleBotStatistics
- updateAvailableActions(Action, ActionResult) - Method in class com.takenoko.engine.ActionManager
-
update an action in available actions
- updateAvailableActions(Action, ActionResult) - Method in class com.takenoko.engine.BotState
-
update an action in available actions
- updateAvailableIrrigationChannelPositions(EdgePosition, Board) - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- updateAvailableIrrigationChannelPositions(PositionVector) - Method in class com.takenoko.engine.Board
- updateAvailableIrrigationChannelPositions(PositionVector, Board) - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- updateAvailableIrrigationChannelPositions(Stream<EdgePosition>, Board) - Method in class com.takenoko.layers.irrigation.IrrigationLayer
- updateAvailableTilePositions(PositionVector) - Method in class com.takenoko.layers.tile.TileLayer
-
Update the available tile positions after placing a tile.
- updateDefaultActions(Board, BotState) - Method in class com.takenoko.engine.ActionManager
-
update to the defaults actions
- updateEatenBambooCounter(TileColor) - Method in class com.takenoko.stats.SingleBotStatistics
- updateEvolution(BotManager, History) - Method in class com.takenoko.stats.HistoryStatistics
- updateEvolution(History, UUID) - Method in class com.takenoko.stats.HistoryStatisticsItem
- updateHistoryStatistics(BotManager) - Method in class com.takenoko.engine.History
- updateImprovements(ImprovementType) - Method in class com.takenoko.stats.BoardStatistics
- updateObjectives(Board, BotState) - Method in class com.takenoko.engine.ObjectiveManager
-
update the objectives
- updateObjectivesRedeemed(Objective) - Method in class com.takenoko.stats.SingleBotStatistics
- updatePlantedBambooCounter(TileColor, int) - Method in class com.takenoko.stats.SingleBotStatistics
- updateRedeemedObjectives(List<Objective>) - Method in class com.takenoko.stats.GameProgressStatistics
- updateRedeemedOneObjective(Objective) - Method in class com.takenoko.stats.GameProgressStatistics
- updateScore(int) - Method in class com.takenoko.stats.SingleBotStatistics
- updateScore(BotManager, int) - Method in class com.takenoko.engine.Scoreboard
- updateScore(BotManager, int) - Method in class com.takenoko.stats.BotStatistics
- updateTilesPlaced(TileColor) - Method in class com.takenoko.stats.BoardStatistics
- updateTilesPlacedCounter(TileColor) - Method in class com.takenoko.stats.SingleBotStatistics
- updateWeathersApplied(String) - Method in class com.takenoko.stats.SingleBotStatistics
- updateWeathersRolled(String) - Method in class com.takenoko.stats.SingleBotStatistics
- use(ImprovementType) - Method in class com.takenoko.inventory.InventoryImprovements
- useBamboo(Integer) - Method in class com.takenoko.layers.bamboo.BambooStack
- useBamboo(Map<TileColor, Integer>) - Method in class com.takenoko.inventory.Inventory
-
Remove bamboo from the player's inventory when an objective is redeemed
- useImprovement(ImprovementType) - Method in class com.takenoko.inventory.Inventory
- useIrrigationChannel() - Method in class com.takenoko.inventory.Inventory
- UserInterface - Interface in com.takenoko.ui
-
User interface
V
- value() - Element in annotation interface com.takenoko.actions.annotations.ActionAnnotation
- valueOf(String) - Static method in enum class com.takenoko.actions.annotations.ActionType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.bot.utils.GameProgress
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.engine.EndGameState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.engine.GameState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.layers.tile.ImprovementType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.layers.tile.TileColor
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.layers.tile.TileType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.objective.ObjectiveState
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.objective.ObjectiveType
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.shape.PatternFactory
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.vector.Direction
-
Returns the enum constant of this class with the specified name.
- valueOf(String) - Static method in enum class com.takenoko.weather.WeatherFactory
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class com.takenoko.actions.annotations.ActionType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.bot.utils.GameProgress
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.engine.EndGameState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.engine.GameState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.layers.tile.ImprovementType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.layers.tile.TileColor
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.layers.tile.TileType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.objective.ObjectiveState
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.objective.ObjectiveType
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.shape.PatternFactory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.vector.Direction
-
Returns an array containing the constants of this enum class, in the order they are declared.
- values() - Static method in enum class com.takenoko.weather.WeatherFactory
-
Returns an array containing the constants of this enum class, in the order they are declared.
- vector - Variable in enum class com.takenoko.vector.Direction
- Vector - Class in com.takenoko.vector
-
The Vector class represents a vector in a 2D hexagonal grid.
- Vector(double, double, double) - Constructor for class com.takenoko.vector.Vector
-
Constructor for the Vector class.
- verify(Board, BotState) - Method in class com.takenoko.objective.EmperorObjective
- verify(Board, BotState) - Method in class com.takenoko.objective.MultipleGardenerObjective
- verify(Board, BotState) - Method in class com.takenoko.objective.Objective
-
Verify state of the objective.
- verify(Board, BotState) - Method in class com.takenoko.objective.PandaObjective
- verify(Board, BotState) - Method in class com.takenoko.objective.PatternObjective
- verify(Board, BotState) - Method in class com.takenoko.objective.SingleGardenerObjective
- verifyObjectives(Board) - Method in class com.takenoko.engine.BotState
-
for each objective, check if it is achieved
- verifyObjectives(Board, BotState) - Method in class com.takenoko.engine.ObjectiveManager
-
for each objective, check if it is achieved
W
- WATERSHED - Enum constant in enum class com.takenoko.layers.tile.ImprovementType
-
The watershed 🌊 provides the bamboo in its plot all the water it needs.
- weather - Variable in class com.takenoko.actions.weather.ChooseAndApplyWeatherAction
- weather - Variable in class com.takenoko.bot.unitary.SmartChooseAndApplyWeather
- weather - Variable in class com.takenoko.engine.Board
- Weather - Class in com.takenoko.weather
-
Interface for the weather.
- Weather() - Constructor for class com.takenoko.weather.Weather
- weatherDice - Variable in class com.takenoko.asset.GameAssets
- WeatherDice - Class in com.takenoko.weather
-
Implementation of the WeatherDice of the game, it has 6 sides and each side is a weather.
- WeatherDice() - Constructor for class com.takenoko.weather.WeatherDice
-
Default Constructor
- WeatherDice(Random) - Constructor for class com.takenoko.weather.WeatherDice
-
Specify the Random Generator
- WeatherFactory - Enum Class in com.takenoko.weather
-
Weather modifier for the game, each element has it's ows effect on the game.
- WeatherFactory() - Constructor for enum class com.takenoko.weather.WeatherFactory
- WeatherMaster - Class in com.takenoko.bot
- WeatherMaster() - Constructor for class com.takenoko.bot.WeatherMaster
- WeatherMaster(Map<String, Integer>) - Constructor for class com.takenoko.bot.WeatherMaster
- weathers - Variable in class com.takenoko.stats.SingleBotStatistics
- WIN_WITH_OBJECTIVE_POINTS - Enum constant in enum class com.takenoko.engine.EndGameState
-
WIN_WITH_OBJECTIVE_POINTS state is used when the game is won by the player with the most objective points.
- WIN_WITH_PANDA_OBJECTIVE_POINTS - Enum constant in enum class com.takenoko.engine.EndGameState
-
WIN_WITH_PANDA_OBJECTIVE_POINTS state is used when the game is tied on objective points but won by the player with the most panda objective points.
- Windy - Class in com.takenoko.weather
-
Weather that allows the player to play the same action twice.
- Windy() - Constructor for class com.takenoko.weather.Windy
- WINDY - Enum constant in enum class com.takenoko.weather.WeatherFactory
-
A refreshing breeze 💨 blows through the bamboo garden.
- WINS - Static variable in class com.takenoko.stats.SingleBotStatistics
- writeCSV() - Method in class com.takenoko.stats.CSVExporter
- writeData() - Method in class com.takenoko.stats.BotCSVExporter
- writeData() - Method in class com.takenoko.stats.CSVExporter
Y
A B C D E F G H I L M N O P Q R S T U V W YAll Classes and Interfaces|All Packages|Constant Field Values|Serialized Form