Class PlayerPlayGameRoundPlan
- java.lang.Object
- 
- jadex.bdiv3x.runtime.Plan
- 
- jadex.bdi.examples.blackjack.player.PlayerPlayGameRoundPlan
 
 
- 
 public class PlayerPlayGameRoundPlan extends Plan This plan is executed for every game round.
- 
- 
Nested Class Summary- 
Nested classes/interfaces inherited from class jadex.bdiv3x.runtime.PlanPlan.PlanWaitAbstraction
 
- 
 - 
Constructor SummaryConstructors Constructor Description PlayerPlayGameRoundPlan()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description voidbody()Execute a plan.intdetermineBet()voidfailed()Called when something went wrong (e.g.booleanshouldDrawCard(Card dealercard)- 
Methods inherited from class jadex.bdiv3x.runtime.Planaborted, checkNotInAtomic, createExpression, createGoal, createInternalEvent, createMessageEvent, dispatchInternalEvent, dispatchSubgoal, dispatchSubgoalAndWait, dispatchSubgoalAndWait, dispatchTopLevelGoal, endAtomic, fail, fail, fail, getAgent, getBeliefbase, getClock, getComponentDescription, getComponentIdentifier, getComponentName, getDispatchedElement, getEventbase, getException, getExpression, getExpressionbase, getExternalAccess, getGoalbase, getLogger, getParameter, getParameters, getParameterSet, getParameterSets, getPlanbase, getPlanElement, getReason, getRPlan, getScope, getTime, getWaitqueue, hasParameter, hasParameterSet, killAgent, passed, sendMessage, sendMessageAndWait, sendMessageAndWait, startAtomic, toString, waitFor, waitForCondition, waitForCondition, waitForCondition, waitForConditionInline, waitForConditionInline, waitForEver, waitForFactAdded, waitForFactAdded, waitForFactChanged, waitForFactChanged, waitForFactRemoved, waitForFactRemoved, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForGoalFinished, waitForInternalEvent, waitForInternalEvent, waitForMessageEvent, waitForMessageEvent, waitForReply, waitForReply, waitForReply, waitForReply, waitForTick
 
- 
 
- 
- 
- 
Method Detail- 
determineBetpublic int determineBet() 
 - 
shouldDrawCardpublic boolean shouldDrawCard(Card dealercard) - Parameters:
- dealercard-
- Returns:
- True, if another card should be drawn.
 
 
- 
 
-