summaryrefslogtreecommitdiff
path: root/src/server/web/app/common/scripts/streaming/othello-game.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/server/web/app/common/scripts/streaming/othello-game.ts')
-rw-r--r--src/server/web/app/common/scripts/streaming/othello-game.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/server/web/app/common/scripts/streaming/othello-game.ts b/src/server/web/app/common/scripts/streaming/othello-game.ts
new file mode 100644
index 0000000000..f34ef35147
--- /dev/null
+++ b/src/server/web/app/common/scripts/streaming/othello-game.ts
@@ -0,0 +1,11 @@
+import Stream from './stream';
+import MiOS from '../../mios';
+
+export class OthelloGameStream extends Stream {
+ constructor(os: MiOS, me, game) {
+ super(os, 'othello-game', {
+ i: me ? me.account.token : null,
+ game: game.id
+ });
+ }
+}