diff options
Diffstat (limited to 'webAO/client.js')
| -rw-r--r-- | webAO/client.js | 13 |
1 files changed, 11 insertions, 2 deletions
diff --git a/webAO/client.js b/webAO/client.js index 2682456..fd82cc7 100644 --- a/webAO/client.js +++ b/webAO/client.js @@ -1634,7 +1634,7 @@ async function fileExists(url) { /** * Changes the viewport background based on a given position. * - * Valid positions: `def, pro, hld, hlp, wit, jud` + * Valid positions: `def, pro, hld, hlp, wit, jud, jur, sea` * @param {string} position the position to change into */ async function changeBackground(position) { @@ -1670,8 +1670,17 @@ async function changeBackground(position) { bg: "judgestand.png", desk: null, speedLines: "prosecution_speedlines.gif" + }, + jur: { + bg: "jurystand.png", + desk: { ao2: "jurydesk.png", ao1: "estrado.png" }, + speedLines: "defense_speedlines.gif" + }, + sea: { + bg: "seancestand.png", + desk: { ao2: "seancedesk.png", ao1: "estrado.png" }, + speedLines: "prosecution_speedlines.gif" } - // TODO: add the new seance and jury positions }; const { bg, desk, speedLines } = positions[position]; |
