aboutsummaryrefslogtreecommitdiff
path: root/src/Player.elm
diff options
context:
space:
mode:
authorJoris Guyonvarch2015-03-07 15:12:02 +0100
committerJoris Guyonvarch2015-03-07 15:12:02 +0100
commit17a58e0c4c67f27d87635bf1b2ca50fb11795ad3 (patch)
tree8de99cdf0b4021ca6db6920537e7d0fa250e90bc /src/Player.elm
parent336816d2e8ab4afff1562123dfde61bf3a68e61c (diff)
Organizing source code with subdirectories
Diffstat (limited to 'src/Player.elm')
-rw-r--r--src/Player.elm16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/Player.elm b/src/Player.elm
deleted file mode 100644
index d1c10e0..0000000
--- a/src/Player.elm
+++ /dev/null
@@ -1,16 +0,0 @@
-module Player where
-
-import Vec2 (..)
-import Config (Config)
-
-type alias Player =
- { pos : Vec2
- , speed : Vec2
- , config : Config
- }
-
-playerSize : Float
-playerSize = 15
-
-playerSpeed : Float -> Float
-playerSpeed dt = dt / 200