From d429c25a2c90a876f623de80c70b55e217c2bc76 Mon Sep 17 00:00:00 2001 From: syuilo Date: Wed, 11 Jul 2018 13:47:01 +0900 Subject: [PATCH] Refactor --- .../scripts/streaming/games/{ => reversi}/reversi-game.ts | 4 ++-- .../common/scripts/streaming/games/{ => reversi}/reversi.ts | 6 +++--- .../views/components/{ => games/reversi}/reversi.game.vue | 4 ++-- .../components/{ => games/reversi}/reversi.gameroom.vue | 2 +- .../views/components/{ => games/reversi}/reversi.room.vue | 2 +- .../common/views/components/{ => games/reversi}/reversi.vue | 0 src/client/app/common/views/components/index.ts | 2 +- src/client/app/mios.ts | 2 +- 8 files changed, 11 insertions(+), 11 deletions(-) rename src/client/app/common/scripts/streaming/games/{ => reversi}/reversi-game.ts (70%) rename src/client/app/common/scripts/streaming/games/{ => reversi}/reversi.ts (78%) rename src/client/app/common/views/components/{ => games/reversi}/reversi.game.vue (98%) rename src/client/app/common/views/components/{ => games/reversi}/reversi.gameroom.vue (90%) rename src/client/app/common/views/components/{ => games/reversi}/reversi.room.vue (99%) rename src/client/app/common/views/components/{ => games/reversi}/reversi.vue (100%) diff --git a/src/client/app/common/scripts/streaming/games/reversi-game.ts b/src/client/app/common/scripts/streaming/games/reversi/reversi-game.ts similarity index 70% rename from src/client/app/common/scripts/streaming/games/reversi-game.ts rename to src/client/app/common/scripts/streaming/games/reversi/reversi-game.ts index 2fe7dd3b0..e6b02fcfd 100644 --- a/src/client/app/common/scripts/streaming/games/reversi-game.ts +++ b/src/client/app/common/scripts/streaming/games/reversi/reversi-game.ts @@ -1,5 +1,5 @@ -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) { diff --git a/src/client/app/common/scripts/streaming/games/reversi.ts b/src/client/app/common/scripts/streaming/games/reversi/reversi.ts similarity index 78% rename from src/client/app/common/scripts/streaming/games/reversi.ts rename to src/client/app/common/scripts/streaming/games/reversi/reversi.ts index 1fef93e4b..1f4fd8c63 100644 --- a/src/client/app/common/scripts/streaming/games/reversi.ts +++ b/src/client/app/common/scripts/streaming/games/reversi/reversi.ts @@ -1,6 +1,6 @@ -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) { diff --git a/src/client/app/common/views/components/reversi.game.vue b/src/client/app/common/views/components/games/reversi/reversi.game.vue similarity index 98% rename from src/client/app/common/views/components/reversi.game.vue rename to src/client/app/common/views/components/games/reversi/reversi.game.vue index c4dd42dc6..ed9e71849 100644 --- a/src/client/app/common/views/components/reversi.game.vue +++ b/src/client/app/common/views/components/games/reversi/reversi.game.vue @@ -58,8 +58,8 @@