From 5af770bd99dbb57d78857236c054bc0a6dc4bdfd Mon Sep 17 00:00:00 2001 From: Joris Guyonvarch Date: Sun, 10 May 2015 16:59:08 +0200 Subject: Updating elm version to 0.15 --- src/Input.elm | 13 +++++++------ 1 file changed, 7 insertions(+), 6 deletions(-) (limited to 'src/Input.elm') 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 } -- cgit v1.2.3