Refactoring

This commit is contained in:
syuilo
2018-07-09 21:15:49 +09:00
parent 8b3cb850a5
commit 9201b5318b
6 changed files with 19 additions and 19 deletions

View File

@ -1,9 +1,9 @@
import Stream from './stream';
import MiOS from '../../../mios';
import Stream from '../stream';
import MiOS from '../../../../mios';
export class ReversiGameStream extends Stream {
constructor(os: MiOS, me, game) {
super(os, 'reversi-game', {
super(os, 'games/reversi-game', {
i: me ? me.token : null,
game: game.id
});

View File

@ -1,10 +1,10 @@
import StreamManager from './stream-manager';
import Stream from './stream';
import MiOS from '../../../mios';
import StreamManager from '../stream-manager';
import Stream from '../stream';
import MiOS from '../../../../mios';
export class ReversiStream extends Stream {
constructor(os: MiOS, me) {
super(os, 'reversi', {
super(os, 'games/reversi', {
i: me.token
});
}