diff options
| author | oldmud0 <oldmud0@users.noreply.github.com> | 2019-12-20 11:58:33 -0600 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2019-12-20 11:58:33 -0600 |
| commit | 7346fc67a2d5c976af0b643ad11600b220f3baf6 (patch) | |
| tree | cce8bd463ce4ab3147ac240c8e31a41c62add328 /webAO/client.js | |
| parent | c69d67c4602d047fe0e1bd0f4b569344db6454ca (diff) | |
| parent | 1696e75b46b50f07d077b9b39efe3000bc73b63c (diff) | |
Merge pull request #32 from AttorneyOnline/new_stands
New stands
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]; |
