2M6VZKEPY2DK3FFFEPWVXYCKISVY4UU3MQWHVZJ7APKDKIRDW5OAC
2YHIXVBTSOXZ3IIQUAJJMYPFEJRIKHA6FF4GP6EWDMD5TW77BCXAC
EW7I7CW4YQYFVCJZ2I4UVZIVO36LXWTQKI5YP7A2RAOOTQ43LQWQC
M24OQFMO34UO7VVFTKI55LMQ4YWVR4J566UNWBIQ4NTWEVNXZ6YAC
OBEXFSVR5KLFY4TH4GE4ST5SLB4OAXYTKZTKPBYO3O6CMU7LHD5QC
OPI6W7BO4V3R5WGEVN4USOHVPUV5PVWGKYBMCRU4VQOI7F7RCF5QC
HTIL7GWVKJ6WRRRQEEFGMQL6GWTFW2TP7FI34DLXI4DK4QS4HXSAC
J6J74CCDLZIY2SBU6O7DCX7QUO7LVNBFOZJ7F3VW4OPRPHKQ62OAC
2Z6JSPLRIESWB5QEFINQTE6RSJTGEOQ6ARLHCJ4YQ5XW6I5JWTDAC
2CGOU5GS5ME7XZ7NOYQL2PAUFWBNGJAWWLW6VRY7WYRGYQJJAQNQC
V5OW3Q4IOFG5YIRAWE7J3HDTEBOX2EW7AHVHKFH2XG7I2XXH6SMAC
ZXBDOUETFSXTFY6J5LIMXBCNMDW6NTUTZ7HZZ6ND7BNUKISR74FAC
G4JSBLA7HZ2FJF22HYFSJFON4OI2JBQPZU4ZPDYNEBC3FVAI4CFQC
TLUQ273FUSX6GDUWGPL6JYZRQHOH54SON2O3MSYLO6K64CL5IZEQC
ISWDRBPZCEGJSXNXHML7D7XDW4N3Z7MXOF4OS7UHC6U2GVXFHYZQC
JPHC6PBQJCGZ3B4LKX7C3XZOYP6UTHWV5PU5EXZ27TTXYZY3AG4AC
$this->tokens->getTokensOfTypeInLocation("pi_{$color}_%"),
$this->tokens->getTokensOfTypeInLocation("vp_{$color}_%")
$this->tokens->getTokensOfTypeInLocation("vp_{$color}_%"),
$this->tokens->getTokensOfTypeInLocation("cube_{$color}_%"),
$this->tokens->getTokensOfTypeInLocation("pi_{$color}_%")
$this->gamestate->nextState(); // start minigame
// Trigger clean up in frontend. Sending only tokens that are to be
// moved away.
self::notifyAllPlayers("cleanBoard", "", array(
'tokens' => array_values(array_merge(
$this->tokens->getTokensInLocation('box'),
$this->tokens->getTokensInLocation('offtable'),
$this->tokens->getTokensInLocation('cubes_%'),
$this->tokens->getTokensInLocation('discs_%')
))
));
$this->notifyAnimate();
$this->gamestate->nextState(); // start minigame
this.notifqueue.setSynchronous('playerSolved', 800);
this.notifqueue.setSynchronous('playerSolved', 1000);
this.notifqueue.setSynchronous('animate', 1000);
},
notif_cleanBoard: function(notif) {
this.playerHand.removeAll();
this.evidenceDisplay.removeAll();
this.evidenceDiscard.removeAll();
for (player_id in this.playerDisplays) {
this.playerDisplays[player_id].removeAll();
}
this.tiles.removeAll(); // from stock
dojo.query('.locslot > div.stockitem').forEach(function (node) { dojo.destroy(node) }); // visually
window.setTimeout(dojo.hitch(this, function () {
this.placeTokens(notif.args.tokens, null, 10);
}), 300);