aboutsummaryrefslogtreecommitdiff
path: root/src/Player.elm
diff options
context:
space:
mode:
Diffstat (limited to 'src/Player.elm')
-rw-r--r--src/Player.elm4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/Player.elm b/src/Player.elm
index b64655e..56c4e97 100644
--- a/src/Player.elm
+++ b/src/Player.elm
@@ -1,14 +1,16 @@
module Player where
import Vec2 (..)
+import Config (Config)
type Player =
{ pos : Vec2
, speed : Vec2
+ , config : Config
}
playerSize : Float
playerSize = 10
playerSpeed : Float -> Float
-playerSpeed dt = dt / 500
+playerSpeed dt = dt / 400