Package com.takenoko.objective
Class PandaObjective
java.lang.Object
com.takenoko.objective.Objective
com.takenoko.objective.PandaObjective
The Panda objective.
-
Field Summary
Fields -
Constructor Summary
ConstructorsConstructorDescriptionPandaObjective
(PandaObjective pandaObjective) PandaObjective
(Map<TileColor, Integer> bambooTarget, int points) -
Method Summary
Modifier and TypeMethodDescriptioncopy()
boolean
float
getCompletion
(Board board, BotState botState) getWhereToEatToComplete
(Board board, BotState botState) int
hashCode()
void
reset()
toString()
void
Verify state of the objective.Methods inherited from class com.takenoko.objective.Objective
getPoints, getState, getType, isAchieved
-
Field Details
-
bambooTarget
-
-
Constructor Details
-
PandaObjective
-
PandaObjective
-
-
Method Details
-
verify
Description copied from class:Objective
Verify state of the objective. -
reset
public void reset() -
copy
-
getCompletion
- Specified by:
getCompletion
in classObjective
-
getWhereToEatToComplete
-
equals
-
hashCode
public int hashCode() -
toString
-
getBambooTarget
-