aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Game.elm
diff options
context:
space:
mode:
authorJoris2015-12-30 13:35:01 +0100
committerJoris2015-12-30 13:35:01 +0100
commit2258ef984fefde41711d4c883baf582b7e581155 (patch)
treea15cdae0c8a77a628ee49959037a1000687f3a2c /src/Model/Game.elm
parent1cf6bc1ad9209e4f3f2fcbc129f2577e74e94c99 (diff)
downloadcatchvoid-2258ef984fefde41711d4c883baf582b7e581155.tar.gz
catchvoid-2258ef984fefde41711d4c883baf582b7e581155.tar.bz2
catchvoid-2258ef984fefde41711d4c883baf582b7e581155.zip
Make the player bigger with each point
Diffstat (limited to 'src/Model/Game.elm')
-rw-r--r--src/Model/Game.elm4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Model/Game.elm b/src/Model/Game.elm
index 24fd400..97fbc4c 100644
--- a/src/Model/Game.elm
+++ b/src/Model/Game.elm
@@ -17,7 +17,7 @@ import Model.Round exposing (Round)
import Model.Board exposing (initBoardSize)
type alias Game =
- { time : Float
+ { elapsedTime : Float
, boardSize : Vec2
, keysDown : Set KeyCode
, currentScore : Int
@@ -29,7 +29,7 @@ type alias Game =
initialGame : Seed -> Game
initialGame seed =
- { time = 0
+ { elapsedTime = 0
, boardSize = initBoardSize
, keysDown = Set.empty
, currentScore = 0