diff options
author | Joris | 2015-12-30 13:35:01 +0100 |
---|---|---|
committer | Joris | 2015-12-30 13:35:01 +0100 |
commit | 2258ef984fefde41711d4c883baf582b7e581155 (patch) | |
tree | a15cdae0c8a77a628ee49959037a1000687f3a2c /src/Model/Game.elm | |
parent | 1cf6bc1ad9209e4f3f2fcbc129f2577e74e94c99 (diff) |
Make the player bigger with each point
Diffstat (limited to 'src/Model/Game.elm')
-rw-r--r-- | src/Model/Game.elm | 4 |
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 |