aboutsummaryrefslogtreecommitdiff
path: root/src/Main.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-07 12:20:27 +0100
committerJoris Guyonvarch2015-03-07 12:20:27 +0100
commit336816d2e8ab4afff1562123dfde61bf3a68e61c (patch)
tree698d8b8c70ba1ee1ddb895dfcd3b2322f6860794 /src/Main.elm
parent8f8df67f3795b02c6918d7df832580e9de7d0802 (diff)
Save player config when relaunching game
Diffstat (limited to 'src/Main.elm')
-rw-r--r--src/Main.elm3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/Main.elm b/src/Main.elm
index 9286ed9..6be5766 100644
--- a/src/Main.elm
+++ b/src/Main.elm
@@ -10,12 +10,13 @@ import Display (display)
import Step (step)
import Input (getInput)
import Vec2 (originVec)
+import Config (Config(White))
main : Signal Html
main = Signal.map display game
game : Signal Game
-game = Signal.foldp step (initialGame initialSeed originVec 0) getInput
+game = Signal.foldp step (initialGame initialSeed originVec White 0) getInput
port initialTime : Int