feat: connect lvl 3 to start screen
This commit is contained in:
parent
b797f7be41
commit
025b4f1da2
|
@ -6,6 +6,7 @@ import { ClickableArrow } from '../components/ClickableArrow.js';
|
||||||
import { ControlPanel } from '../components/controlPanel.js';
|
import { ControlPanel } from '../components/controlPanel.js';
|
||||||
import { Flag } from "../components/Flag.js";
|
import { Flag } from "../components/Flag.js";
|
||||||
import { Key } from '../components/Key.js';
|
import { Key } from '../components/Key.js';
|
||||||
|
import StartScene from './startScene.js';
|
||||||
|
|
||||||
|
|
||||||
export default function Level3() {
|
export default function Level3() {
|
||||||
|
@ -81,7 +82,7 @@ export default function Level3() {
|
||||||
text: "next",
|
text: "next",
|
||||||
mode: "CENTER",
|
mode: "CENTER",
|
||||||
style: buttonM,
|
style: buttonM,
|
||||||
onPress: () => console.log(`redirect to next game`),
|
onPress: () => this.sceneManager.showScene(StartScene),
|
||||||
});
|
});
|
||||||
|
|
||||||
blocks = new ControlPanel({
|
blocks = new ControlPanel({
|
||||||
|
|
Loading…
Reference in New Issue
Block a user