summaryrefslogtreecommitdiffstats
path: root/src/Player.hs
diff options
context:
space:
mode:
Diffstat (limited to 'src/Player.hs')
-rw-r--r--src/Player.hs5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/Player.hs b/src/Player.hs
index 4784b8b..67d9f78 100644
--- a/src/Player.hs
+++ b/src/Player.hs
@@ -4,7 +4,8 @@ module Player ( Player(..)
, SomePlayer(..)
) where
-import Data.Fixed
+import Transformable
+import Vector
import Data.Typeable
import Tank
@@ -12,7 +13,7 @@ import GLDriver (SomeEvent)
class Player a where
- playerUpdate :: a -> Tank -> IO (a, Maybe Micro, Bool, Maybe Micro, Bool)
+ playerUpdate :: a -> Tank -> IO (a, Maybe Vector, Bool, Maybe Vector, Bool)
handleEvent :: a -> SomeEvent -> a
handleEvent player _ = player