Package com.takenoko.bot.unitary
Class SmartDrawImprovement
java.lang.Object
java.util.AbstractMap<K,V>
java.util.HashMap<Action,Double>
com.takenoko.bot.PriorityBot
com.takenoko.bot.unitary.SmartDrawImprovement
This bot will draw improvement if there is less than the number of improvement in the inventory.
- See Also:
-
Nested Class Summary
Nested classes/interfaces inherited from class java.util.AbstractMap
AbstractMap.SimpleEntry<K extends Object,
V extends Object>, AbstractMap.SimpleImmutableEntry<K extends Object, V extends Object> -
Field Summary
FieldsFields inherited from class com.takenoko.bot.PriorityBot
DEFAULT_PRIORITY
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class com.takenoko.bot.PriorityBot
add, addActionWithPriority, addWithAffine, addWithLinear, addWithOffset, addWithSquash, chooseAction, compute
Methods inherited from class java.util.HashMap
clear, clone, compute, computeIfAbsent, computeIfPresent, containsKey, containsValue, entrySet, forEach, get, getOrDefault, isEmpty, keySet, merge, put, putAll, putIfAbsent, remove, remove, replace, replace, replaceAll, size, values
Methods inherited from class java.util.AbstractMap
toString
-
Field Details
-
improvementMap
-
-
Constructor Details
-
SmartDrawImprovement
- Parameters:
improvementMap
- the map of improvement and the number of improvement to draw.
-
-
Method Details
-
fillAction
- Specified by:
fillAction
in classPriorityBot
-
equals
-
hashCode
public int hashCode()
-