Files
rebirth-wren/game_state.wren
Indrajith K L 7d988900e2 * Basic Game State Implementation
* Code Refactoring
2021-08-02 13:48:25 +05:30

17 lines
217 B
Plaintext

class GameState {
construct new() {
}
switch(level) {
_currentLevel = level.new()
}
update() {
_currentLevel.update()
}
draw(dt) {
_currentLevel.draw(dt)
}
}