aboutsummaryrefslogtreecommitdiff
path: root/src/Game.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Game.elm')
-rw-r--r--src/Game.elm6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/Game.elm b/src/Game.elm
index 4d68219..e294942 100644
--- a/src/Game.elm
+++ b/src/Game.elm
@@ -18,15 +18,15 @@ type alias Game =
, seed : Seed
}
-initialGame : Seed -> Vec2 -> Int -> Game
-initialGame seed playerPos bestScore =
+initialGame : Seed -> Vec2 -> Config -> Int -> Game
+initialGame seed playerPos config bestScore =
let initPlayer =
{ pos = playerPos
, speed =
{ x = 0
, y = 0
}
- , config = White
+ , config = config
}
in
{ time = 0