SR25FEGS7SMUTSHFJ6HH366ZAXUXNKCWXBXDA3APKFKIY2VKG2XAC
HTIL7GWVKJ6WRRRQEEFGMQL6GWTFW2TP7FI34DLXI4DK4QS4HXSAC
2RTPHQ3FBE2EZHNZ3TWFJJKFRZOBROWLXN7KUVENSF5DHUNOR2JQC
J6J74CCDLZIY2SBU6O7DCX7QUO7LVNBFOZJ7F3VW4OPRPHKQ62OAC
OPI6W7BO4V3R5WGEVN4USOHVPUV5PVWGKYBMCRU4VQOI7F7RCF5QC
MYLF7NEGFT6YYO6OEK22FLAS6Y2V3YGU4CQIMBE6APOLGLTOFNRQC
NDDFOS5624OS3JXFPE46C2VBGU6XYA2XOOP7X5GF26HMDPYLOQXQC
JPHC6PBQJCGZ3B4LKX7C3XZOYP6UTHWV5PU5EXZ27TTXYZY3AG4AC
5I4UCQOTFNIXNO3IEJBPOHAHI63WOS7ZCOGHWJ47IK6MDJ6CBW6AC
HADAOE2OQEOCOWLKTUEAQ6NH57SK5RKYZNLW6PQYRD2CEFHUIAZAC
checkActivePlayer: function() {
if (!this.isCurrentPlayerActive()) {
this.showMessage(__("lang_mainsite", "This is not your turn"), "error");
return false;
}
return true;
},
isActiveSlot: function(id) {
if (!dojo.hasClass(id, 'active_slot')) { return false; }
return true;
},
checkActiveSlot: function(id) {
if (!this.isActiveSlot(id)) {
this.showMoveUnauthorized();
return false;
}
return true;
},
checkActivePlayerAndSlot: function(id) {
if (!this.checkActivePlayer()) { return false; }
if (!this.checkActiveSlot(id)) { return false; }
return true;
},