aboutsummaryrefslogtreecommitdiff
path: root/game_state.wren
blob: 94e8a99b2019d3154ca5458bab69c6e0d2620d54 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
class GameState {
    construct new() {

    }

    switch(level) {
        _currentLevel = level.new()
    }

    update() {
        _currentLevel.update()
    }

    draw(dt) {
        _currentLevel.draw(dt)
    }
}