summaryrefslogtreecommitdiff
path: root/src/scenes/prequel.js
diff options
context:
space:
mode:
authorniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-12-24 17:58:20 +0100
committerniliara-edu <nil.jimeno@estudiant.fjaverianas.com>2024-12-24 17:58:20 +0100
commit25adfc618e77db9a5ee3b98ce0dab0be832efed0 (patch)
tree36ca56758ddd4674ab5a43df4b76bbfcc5a47af1 /src/scenes/prequel.js
parenta840990bdcabf45fb0d377478ba0ab27222434ae (diff)
hello kitty base done
Diffstat (limited to 'src/scenes/prequel.js')
-rw-r--r--src/scenes/prequel.js9
1 files changed, 7 insertions, 2 deletions
diff --git a/src/scenes/prequel.js b/src/scenes/prequel.js
index f24ef99..83b8ba4 100644
--- a/src/scenes/prequel.js
+++ b/src/scenes/prequel.js
@@ -1,13 +1,18 @@
import { Engine } from "../engine.js"
import { MUSIC } from "../assets.js"
+import { Portal } from "../entities/portal.js"
+
+let portal
export function start() {
- Engine.playMusic(MUSIC.PREQUEL)
+ Engine.radio.playMusic(MUSIC.PREQUEL)
+ portal = new Portal()
}
-
export function update() {
+ portal.update()
}
export function draw() {
+ portal.draw()
}