Skip to content
Snippets Groups Projects
Commit 85465e7b authored by Paolo Brasolin's avatar Paolo Brasolin
Browse files

refactor: #fe relax Foe types

parent 74a651c4
No related branches found
No related tags found
No related merge requests found
import "phaser"; import "phaser";
import Clue from "./clue"; import Clue from "./clue";
import Critter from "./critter"; import Critter from "./critter";
import FightScene from "./fight_scene"; import MainScene from "./main_scene";
import * as Types from "../../../backend/src/types"; import * as Types from "../../../backend/src/types";
...@@ -9,7 +9,7 @@ class Foe { ...@@ -9,7 +9,7 @@ class Foe {
beWord: Types.Word; beWord: Types.Word;
beClue: Types.Clue; beClue: Types.Clue;
scene: FightScene; scene: MainScene;
critter: Critter; critter: Critter;
clue: Clue; clue: Clue;
...@@ -17,7 +17,7 @@ class Foe { ...@@ -17,7 +17,7 @@ class Foe {
duration: number; duration: number;
constructor(scene: FightScene, duration = 15) { constructor(scene: MainScene, duration = 15) {
this.scene = scene; this.scene = scene;
this.duration = duration; this.duration = duration;
} }
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment