Uses of Class
com.takenoko.engine.BotState
Packages that use BotState
Package
Description
-
Uses of BotState in com.takenoko.actions
Methods in com.takenoko.actions with parameters of type BotStateModifier and TypeMethodDescriptionstatic boolean
DefaultAction.canBePlayed
(Board board, BotState botState, Class<? extends DefaultAction> actionClass) -
Uses of BotState in com.takenoko.actions.improvement
Methods in com.takenoko.actions.improvement with parameters of type BotStateModifier and TypeMethodDescriptionstatic boolean
ApplyImprovementFromInventoryAction.canBePlayed
(Board board, BotState botState) -
Uses of BotState in com.takenoko.actions.irrigation
Methods in com.takenoko.actions.irrigation with parameters of type BotStateModifier and TypeMethodDescriptionstatic boolean
PlaceIrrigationFromInventoryAction.canBePlayed
(Board board, BotState botState) -
Uses of BotState in com.takenoko.actions.objective
Methods in com.takenoko.actions.objective with parameters of type BotStateModifier and TypeMethodDescriptionstatic boolean
DrawObjectiveAction.canBePlayed
(Board board, BotState botState) static boolean
RedeemObjectiveAction.canBePlayed
(BotState botState) -
Uses of BotState in com.takenoko.bot
Methods in com.takenoko.bot with parameters of type BotStateModifier and TypeMethodDescriptionBot.chooseAction
(Board board, BotState botState, History history) This method will allow the player to choose an action to execute.FullRandomBot.chooseAction
(Board board, BotState botState, History history) PriorityBot.chooseAction
(Board board, BotState botState, History history) protected PriorityBot
protected void
ColletBot.fillAction
(Board board, BotState botState, History history) protected void
GeneralTacticBot.fillAction
(Board board, BotState botState, History history) protected void
IrrigationMaster.fillAction
(Board board, BotState botState, History history) protected abstract void
PriorityBot.fillAction
(Board board, BotState botState, History history) protected void
RushPandaBot.fillAction
(Board board, BotState botState, History history) protected void
WeatherMaster.fillAction
(Board board, BotState botState, History history) private Action
FullRandomBot.getRandomApplyImprovementFromInventoryAction
(Board board, BotState botState) private Action
FullRandomBot.getRandomRedeemObjectiveAction
(BotState botState) -
Uses of BotState in com.takenoko.bot.unitary
Methods in com.takenoko.bot.unitary with parameters of type BotStateModifier and TypeMethodDescriptionboolean
SmartPlaceIrrigation.allPatternObjectivesAreCompleted
(BotState botState) Check if any of the pattern objectives are completedSmartPattern.analyzeBoardToFindPlaceToCompleteShapeOfPatternObjective
(Board board, BotState botState) void
SmartPlaceIrrigation.analyzeIrrigationToPlaceToCompletePatternObjective
(Board board, BotState botState) 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 objectivSmartObjective.analyzeObjectivesToRedeem
(BotState botState, History history) protected void
SmartApplyWeather.fillAction
(Board board, BotState botState, History history) protected void
SmartApplyWind.fillAction
(Board board, BotState botState, History history) protected void
SmartChooseAndApplyWeather.fillAction
(Board board, BotState botState, History history) protected void
SmartDrawImprovement.fillAction
(Board board, BotState botState, History history) protected void
SmartDrawIrrigation.fillAction
(Board board, BotState botState, History history) protected void
SmartGardener.fillAction
(Board board, BotState botState, History history) protected void
SmartObjective.fillAction
(Board board, BotState botState, History history) protected void
SmartPanda.fillAction
(Board board, BotState botState, History history) protected void
SmartPattern.fillAction
(Board board, BotState botState, History history) protected void
SmartPlaceIrrigation.fillAction
(Board board, BotState botState, History history) protected void
SmartStoreIrrigation.fillAction
(Board board, BotState botState, History history) SmartPlaceIrrigation.getCandidateShapes
(Board board, BotState botState) Get all the shape matching the patterns on the current pattern objectivesSmartPattern.getCurrentPatternObjectives
(BotState botState) SmartPlaceIrrigation.getCurrentPatternObjectives
(BotState botState) -
Uses of BotState in com.takenoko.bot.utils.pathfinding.gardener
Methods in com.takenoko.bot.utils.pathfinding.gardener with parameters of type BotStateModifier and TypeMethodDescriptionstatic @NotNull Map<Objective,
List<PositionVector>> GardenerPathfinding.getGardenerMoves
(Board board, BotState botState) -
Uses of BotState in com.takenoko.bot.utils.pathfinding.panda
Methods in com.takenoko.bot.utils.pathfinding.panda with parameters of type BotStateModifier and TypeMethodDescriptionstatic Map<PandaObjective,
List<PositionVector>> PandaPathfinding.getPandaMoves
(Board board, BotState botState) -
Uses of BotState in com.takenoko.engine
Fields in com.takenoko.engine declared as BotStateMethods in com.takenoko.engine that return BotStateMethods in com.takenoko.engine with parameters of type BotStateModifier and TypeMethodDescriptionvoid
ObjectiveManager.redeemObjective
(Objective objective, BotState botState) redeem an objectivevoid
ActionManager.resetAvailableActions
(Board board, BotState botState) reset the available actionsvoid
ActionManager.updateDefaultActions
(Board board, BotState botState) update to the defaults actionsvoid
ObjectiveManager.updateObjectives
(Board board, BotState botState) update the objectivesvoid
ObjectiveManager.verifyObjectives
(Board board, BotState botState) for each objective, check if it is achievedConstructors in com.takenoko.engine with parameters of type BotStateModifierConstructorDescriptionBotManager
(ConsoleUserInterface consoleUserInterface, String name, Bot bot, BotState botState, SingleBotStatistics botStatistics) Constructor for the classCopy constructor -
Uses of BotState in com.takenoko.objective
Methods in com.takenoko.objective with parameters of type BotStateModifier and TypeMethodDescriptionfloat
EmperorObjective.getCompletion
(Board board, BotState botState) float
MultipleGardenerObjective.getCompletion
(Board board, BotState botState) abstract float
Objective.getCompletion
(Board board, BotState botState) float
PandaObjective.getCompletion
(Board board, BotState botState) float
PatternObjective.getCompletion
(Board board, BotState botState) float
SingleGardenerObjective.getCompletion
(Board board, BotState botState) PandaObjective.getWhereToEatToComplete
(Board board, BotState botState) void
void
abstract void
Verify state of the objective.void
void
void