Package com.takenoko.engine
Class Scoreboard
java.lang.Object
com.takenoko.engine.Scoreboard
This class is used to store the number of win for each bot.
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate final HashMap<BotManager,
Integer> private final HashMap<BotManager,
Integer> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoid
addBotManager
(BotManager botManager) void
addBotManager
(List<BotManager> botManagerList) int
getNumberOfVictory
(BotManager botManager) void
incrementNumberOfVictory
(BotManager botManager) toString()
void
updateScore
(BotManager botManager, int scoreToAdd)