Refactoring
This commit is contained in:
@ -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
|
||||
});
|
@ -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
|
||||
});
|
||||
}
|
Reference in New Issue
Block a user