summaryrefslogtreecommitdiff
path: root/src/client/app/common/scripts/streaming/othello.ts
diff options
context:
space:
mode:
authorsyuilo <syuilotan@yahoo.co.jp>2018-06-17 08:10:54 +0900
committersyuilo <syuilotan@yahoo.co.jp>2018-06-17 08:10:54 +0900
commit1ef66c962a1cea81dee4f5db32cd011feac7de44 (patch)
tree006945b7ae9d437cebb0fabc5eb5a849cff518c5 /src/client/app/common/scripts/streaming/othello.ts
parentAdd missing semicolon (diff)
downloadsharkey-1ef66c962a1cea81dee4f5db32cd011feac7de44.tar.gz
sharkey-1ef66c962a1cea81dee4f5db32cd011feac7de44.tar.bz2
sharkey-1ef66c962a1cea81dee4f5db32cd011feac7de44.zip
reversi :white_flower: :100:
Diffstat (limited to 'src/client/app/common/scripts/streaming/othello.ts')
-rw-r--r--src/client/app/common/scripts/streaming/othello.ts31
1 files changed, 0 insertions, 31 deletions
diff --git a/src/client/app/common/scripts/streaming/othello.ts b/src/client/app/common/scripts/streaming/othello.ts
deleted file mode 100644
index 8f4f217e39..0000000000
--- a/src/client/app/common/scripts/streaming/othello.ts
+++ /dev/null
@@ -1,31 +0,0 @@
-import StreamManager from './stream-manager';
-import Stream from './stream';
-import MiOS from '../../../mios';
-
-export class OthelloStream extends Stream {
- constructor(os: MiOS, me) {
- super(os, 'othello', {
- i: me.token
- });
- }
-}
-
-export class OthelloStreamManager extends StreamManager<OthelloStream> {
- private me;
- private os: MiOS;
-
- constructor(os: MiOS, me) {
- super();
-
- this.me = me;
- this.os = os;
- }
-
- public getConnection() {
- if (this.connection == null) {
- this.connection = new OthelloStream(this.os, this.me);
- }
-
- return this.connection;
- }
-}