diff options
author | Joris Guyonvarch | 2015-05-10 16:59:08 +0200 |
---|---|---|
committer | Joris Guyonvarch | 2015-05-10 16:59:08 +0200 |
commit | 5af770bd99dbb57d78857236c054bc0a6dc4bdfd (patch) | |
tree | a15a021df539302767281296c66bb8fdf2d0bae1 /src/Input.elm | |
parent | d5ec91d4d01db6f4d476522d5b14e116435ebb7d (diff) |
Updating elm version to 0.15
Diffstat (limited to 'src/Input.elm')
-rw-r--r-- | src/Input.elm | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/src/Input.elm b/src/Input.elm index 28fb2d1..9a88db6 100644 --- a/src/Input.elm +++ b/src/Input.elm @@ -1,16 +1,17 @@ module Input where -import Char (toCode) -import Keyboard (KeyCode, keysDown, arrows, isDown) +import Char exposing (toCode) +import Keyboard exposing (KeyCode, keysDown, arrows, isDown) import Random -import Time (Time, fps) -import Signal (..) +import Time exposing (Time, fps) +import Signal exposing (..) +import Set exposing (Set) -import Model.Vec2 (Vec2) +import Model.Vec2 exposing (Vec2) type alias Input = { dir : Vec2 - , inputKeysDown : List KeyCode + , inputKeysDown : Set KeyCode , delta : Time } |