(p_player, p_sign)
| 99 | var cSelectedIndex = selectedIndex; |
| 100 | setLine(sign, 0, paddedLabel.bold()); |
| 101 | var _updateSign = function(p_player, p_sign) { |
| 102 | cSelectedIndex = (cSelectedIndex + 1) % optLen; |
| 103 | _redrawMenuSign(p_sign, cSelectedIndex, displayOptions); |
| 104 | var signSelectionEvent = { |
| 105 | player: p_player, |
| 106 | sign: p_sign, |
| 107 | text: options[cSelectedIndex], |
| 108 | number: cSelectedIndex |
| 109 | }; |
| 110 | callback(signSelectionEvent); |
| 111 | }; |
| 112 | |
| 113 | /* |
| 114 | get a unique ID for this particular sign instance |
nothing calls this directly
no test coverage detected