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 booleanDefaultAction.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 booleanApplyImprovementFromInventoryAction.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 booleanPlaceIrrigationFromInventoryAction.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 booleanDrawObjectiveAction.canBePlayed(Board board, BotState botState) static booleanRedeemObjectiveAction.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 PriorityBotprotected voidColletBot.fillAction(Board board, BotState botState, History history) protected voidGeneralTacticBot.fillAction(Board board, BotState botState, History history) protected voidIrrigationMaster.fillAction(Board board, BotState botState, History history) protected abstract voidPriorityBot.fillAction(Board board, BotState botState, History history) protected voidRushPandaBot.fillAction(Board board, BotState botState, History history) protected voidWeatherMaster.fillAction(Board board, BotState botState, History history) private ActionFullRandomBot.getRandomApplyImprovementFromInventoryAction(Board board, BotState botState) private ActionFullRandomBot.getRandomRedeemObjectiveAction(BotState botState) -
Uses of BotState in com.takenoko.bot.unitary
Methods in com.takenoko.bot.unitary with parameters of type BotStateModifier and TypeMethodDescriptionbooleanSmartPlaceIrrigation.allPatternObjectivesAreCompleted(BotState botState) Check if any of the pattern objectives are completedSmartPattern.analyzeBoardToFindPlaceToCompleteShapeOfPatternObjective(Board board, BotState botState) voidSmartPlaceIrrigation.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 voidSmartApplyWeather.fillAction(Board board, BotState botState, History history) protected voidSmartApplyWind.fillAction(Board board, BotState botState, History history) protected voidSmartChooseAndApplyWeather.fillAction(Board board, BotState botState, History history) protected voidSmartDrawImprovement.fillAction(Board board, BotState botState, History history) protected voidSmartDrawIrrigation.fillAction(Board board, BotState botState, History history) protected voidSmartGardener.fillAction(Board board, BotState botState, History history) protected voidSmartObjective.fillAction(Board board, BotState botState, History history) protected voidSmartPanda.fillAction(Board board, BotState botState, History history) protected voidSmartPattern.fillAction(Board board, BotState botState, History history) protected voidSmartPlaceIrrigation.fillAction(Board board, BotState botState, History history) protected voidSmartStoreIrrigation.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 TypeMethodDescriptionvoidObjectiveManager.redeemObjective(Objective objective, BotState botState) redeem an objectivevoidActionManager.resetAvailableActions(Board board, BotState botState) reset the available actionsvoidActionManager.updateDefaultActions(Board board, BotState botState) update to the defaults actionsvoidObjectiveManager.updateObjectives(Board board, BotState botState) update the objectivesvoidObjectiveManager.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 TypeMethodDescriptionfloatEmperorObjective.getCompletion(Board board, BotState botState) floatMultipleGardenerObjective.getCompletion(Board board, BotState botState) abstract floatObjective.getCompletion(Board board, BotState botState) floatPandaObjective.getCompletion(Board board, BotState botState) floatPatternObjective.getCompletion(Board board, BotState botState) floatSingleGardenerObjective.getCompletion(Board board, BotState botState) PandaObjective.getWhereToEatToComplete(Board board, BotState botState) voidvoidabstract voidVerify state of the objective.voidvoidvoid