Class PlayGameLogicRandomBehaviour
java.lang.Object
net.demilich.metastone.game.behaviour.AbstractBehaviour
net.demilich.metastone.game.behaviour.IntelligentBehaviour
net.demilich.metastone.game.behaviour.PlayRandomBehaviour
net.demilich.metastone.game.behaviour.PlayGameLogicRandomBehaviour
- All Implemented Interfaces:
Serializable,Cloneable,Behaviour
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiongetName()Gets a name for the behaviour.protected RandomgetRandom(GameContext context) Methods inherited from class net.demilich.metastone.game.behaviour.PlayRandomBehaviour
mulligan, randomSubset, requestActionMethods inherited from class net.demilich.metastone.game.behaviour.IntelligentBehaviour
isHumanMethods inherited from class net.demilich.metastone.game.behaviour.AbstractBehaviour
clone, mulliganAsync, onGameOver, requestActionAsync
-
Constructor Details
-
PlayGameLogicRandomBehaviour
public PlayGameLogicRandomBehaviour()
-
-
Method Details
-
getName
Description copied from interface:BehaviourGets a name for the behaviour. This should correspond to how the decisions are being made, e.g., a"Human Behaviour"or an"AI Behaviour.- Specified by:
getNamein interfaceBehaviour- Overrides:
getNamein classPlayRandomBehaviour- Returns:
- A
Stringdescription of the behaviour.
-
getRandom
- Overrides:
getRandomin classPlayRandomBehaviour
-