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