Skip to content

Commit d9ede1d

Browse files
committed
一部参照が間違っていたので修正
1 parent df08780 commit d9ede1d

5 files changed

Lines changed: 4 additions & 7 deletions

File tree

packages/web/src/component/Arena.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ import ExpandMoreIcon from "@mui/icons-material/ExpandMore";
2020
import { grey } from "@mui/material/colors";
2121
import { FaFortAwesome } from "react-icons/fa";
2222
import Draggable from "react-draggable";
23-
import type { User } from "./game";
23+
import type { User } from "./game/game";
2424
import { getUser, changeUserName, uploadProgram } from "../fetchAPI";
2525
import { useApiPasswordContext } from "../common/api-password";
2626

packages/web/src/component/Emulator.tsx

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
import { useEffect, useRef } from "react";
22
import type { Result } from "./game/game";
3-
import TutorialGame from "./tutorial/tutorialGames";
43
import Game from "./game/game";
54

65
export interface User {
@@ -51,9 +50,6 @@ export default function Emulator(props: EmulatorProps) {
5150
case 0:
5251
GameClass = Game;
5352
break;
54-
case 1:
55-
GameClass = TutorialGame;
56-
break;
5753
default:
5854
GameClass = Game;
5955
}

packages/web/src/component/Welcome.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ import {
1111
ToggleButtonGroup,
1212
Typography,
1313
} from "@mui/material";
14-
import type { User } from "./game";
14+
import type { User } from "./game/game";
1515
import iconURL from "../icon1.svg";
1616
import { createUser } from "../fetchAPI";
1717
import DropDown from "./DropDown";

packages/web/src/component/worker.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/* eslint-disable @typescript-eslint/no-unused-vars */
2-
import type { Vector2, Entity } from "./game";
2+
import type { Vector2, Entity } from "./game/gameComponents";
33

44
interface Fighter extends Entity {
55
HP: number;

packages/web/src/projector/stages/Battle.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -143,6 +143,7 @@ function ProjectorBattle({ league, onCompleted }: ProjectorBattleProps) {
143143
isPaused={false}
144144
handleStatuses={setStatuses}
145145
onGameCompleted={onGameCompleted}
146+
gameModeId={0}
146147
/>
147148
</Box>
148149
{statuses && (

0 commit comments

Comments
 (0)