summaryrefslogtreecommitdiff
path: root/src/scenes/prequel.js
blob: 83b8ba4045735de69cf24f84dd19922d506ebd8a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
import { Engine } from "../engine.js"
import { MUSIC } from "../assets.js"
import { Portal } from "../entities/portal.js"

let portal

export function start() {
    Engine.radio.playMusic(MUSIC.PREQUEL)
    portal = new Portal()
}

export function update() {
    portal.update()
}

export function draw() {
    portal.draw()
}