Skip to content
Snippets Groups Projects
Commit 92f5aad9 authored by Alex's avatar Alex
Browse files

added handling gonogo in committed

parent 8ad2a10d
Branches
No related tags found
No related merge requests found
......@@ -362,6 +362,12 @@ class AgentBehaviour(variable: Variable,
stay using mind
}
//when it receives its partner's giveGo
case Event(GiveNoGo, mind) => {
stash
stay using mind
}
// When it receives a reject it does NOTHING
case Event(Reject(_), mind) =>
if (debug) println(s"$variable in $stateName has received Reject")
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment