aboutsummaryrefslogtreecommitdiff
path: root/src/Model/Player.elm
diff options
context:
space:
mode:
authorJoris2016-10-02 15:34:27 +0200
committerJoris2016-10-02 15:34:27 +0200
commit3a1cbfe23a3d06c3c30828c623a089868cff0670 (patch)
tree2c81f1f218f92656fdb2026ffedb423d9d06b76a /src/Model/Player.elm
parentfbab0129f902bf2c3ef07c92deb7674384c18424 (diff)
Add saw-tooth move and multiple moves per level
Diffstat (limited to 'src/Model/Player.elm')
-rw-r--r--src/Model/Player.elm2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Model/Player.elm b/src/Model/Player.elm
index 37a1a7f..50efb4b 100644
--- a/src/Model/Player.elm
+++ b/src/Model/Player.elm
@@ -24,7 +24,7 @@ initPlayer =
getPlayerSize : Int -> Float
getPlayerSize score =
- (levelCurve Level.levelScoreDuration 15 (Level.currentLevelScore score)) + 15
+ 15 + (levelCurve Level.levelScoreDuration 15 (Level.currentLevelScore score))
levelCurve : Int -> Int -> Int -> Float
levelCurve maxAbs maxOrd x =