aboutsummaryrefslogtreecommitdiff
path: root/main.wren
diff options
context:
space:
mode:
authorIndrajith K L2021-08-03 17:53:10 +0530
committerIndrajith K L2021-08-03 17:53:10 +0530
commit705886d371cf2cfa619b321c0d87caca0773a789 (patch)
tree0e860ca10c6cfd122b403b02e84d4fef72078b63 /main.wren
parent5bd12d5a658c1cd710bc950be971ebe3993ed11d (diff)
downloadrebirth-wren-705886d371cf2cfa619b321c0d87caca0773a789.tar.gz
rebirth-wren-705886d371cf2cfa619b321c0d87caca0773a789.tar.bz2
rebirth-wren-705886d371cf2cfa619b321c0d87caca0773a789.zip
Bug Fixes
Player Placement Basic Player Movement
Diffstat (limited to 'main.wren')
-rw-r--r--main.wren5
1 files changed, 2 insertions, 3 deletions
diff --git a/main.wren b/main.wren
index d166950..273c841 100644
--- a/main.wren
+++ b/main.wren
@@ -3,10 +3,9 @@ import "json" for Json
import "graphics" for Canvas, Color
import "dome" for Window, Process
import "math" for Math
-import "config" for Config
+import "./config" for Config
import "./controls" for Controls
import "./game_state" for GameState
-import "./screens/menu_screen" for MenuScreen
class Main {
construct new() {
@@ -15,7 +14,7 @@ class Main {
init() {
Config.new()
__gameState = GameState.new()
- __gameState.switch(MenuScreen)
+ __gameState.switch("menu")
}
update() {