aboutsummaryrefslogtreecommitdiff
path: root/webAO/viewport/interfaces/Viewport.ts
diff options
context:
space:
mode:
authorCaleb <caleb.mabry.15@cnu.edu>2022-09-11 16:31:04 -0400
committerCaleb <caleb.mabry.15@cnu.edu>2022-09-11 16:31:04 -0400
commitf8e8ab1b0d0edcddc55f57df76ee81fa14a1e5e8 (patch)
treeba07f3fb1ce186999a356edf074c89e3a28a4108 /webAO/viewport/interfaces/Viewport.ts
parent3bc1d8ca5bc74f40d96c9f4edf7f5b1adee188a4 (diff)
Finishing of refactor
Diffstat (limited to 'webAO/viewport/interfaces/Viewport.ts')
-rw-r--r--webAO/viewport/interfaces/Viewport.ts35
1 files changed, 27 insertions, 8 deletions
diff --git a/webAO/viewport/interfaces/Viewport.ts b/webAO/viewport/interfaces/Viewport.ts
index 3ffbcc8..5b428c1 100644
--- a/webAO/viewport/interfaces/Viewport.ts
+++ b/webAO/viewport/interfaces/Viewport.ts
@@ -1,17 +1,35 @@
import { ChatMsg } from "./ChatMsg";
+
export interface Viewport {
+ getTextNow: Function;
+ setTextNow: Function;
+ getChatmsg: Function;
+ setChatmsg: Function;
+ getSfxPlayed: Function;
+ setSfxPlayed: Function;
+ setTickTimer: Function;
+ getTickTimer: Function;
+ getAnimating: Function;
+ setAnimating: Function;
+ getLastEvidence: Function;
+ setLastEvidence: Function;
+ setLastCharacter: Function;
+ getLastCharacter: Function;
+ setShoutTimer: Function;
+ getShoutTimer: Function;
+ setTestimonyTimer: Function;
+ getTestimonyTimer: Function;
+ setTestimonyUpdater: Function;
+ getTestimonyUpdater: Function;
+ getTheme: Function;
+ setTheme: Function;
+ testimonyAudio: HTMLAudioElement;
chat_tick: Function;
- changeMusicVolume: Function;
- reloadTheme: Function;
playSFX: Function;
set_side: Function;
- initTestimonyUpdater: Function;
updateTestimony: Function;
disposeTestimony: Function;
- handle_ic_speaking: Function;
handleTextTick: Function;
- theme: string;
- chatmsg: ChatMsg;
setSfxAudio: Function;
getSfxAudio: Function;
getBackgroundFolder: Function;
@@ -19,6 +37,7 @@ export interface Viewport {
music: any;
musicVolume: number;
setBackgroundName: Function;
- lastChar: string;
getBackgroundName: Function;
-} \ No newline at end of file
+ shoutaudio: HTMLAudioElement;
+ updater: any;
+}