diff options
author | Matthias Schiffer <matthias@gamezock.de> | 2010-03-08 22:13:35 +0100 |
---|---|---|
committer | Matthias Schiffer <matthias@gamezock.de> | 2010-03-08 22:13:35 +0100 |
commit | 335c10654f7d41053ffcabed19cb003d1c0ce13e (patch) | |
tree | b1b6e0bf7582206c3953492a0407a5120ca9ff75 /GLDriver.hs | |
parent | 7edb7c0e060d509db83287c1cd8389e37dfc3a17 (diff) | |
download | htanks-335c10654f7d41053ffcabed19cb003d1c0ce13e.tar htanks-335c10654f7d41053ffcabed19cb003d1c0ce13e.zip |
Added bullet texture and movement; restructured game state
Diffstat (limited to 'GLDriver.hs')
-rw-r--r-- | GLDriver.hs | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/GLDriver.hs b/GLDriver.hs index ce84563..7340075 100644 --- a/GLDriver.hs +++ b/GLDriver.hs @@ -10,6 +10,7 @@ module GLDriver ( Driver(..) , KeyPressEvent(..) , KeyReleaseEvent(..) , MouseMotionEvent(..) + , MousePressEvent(..) ) where import Data.Typeable @@ -60,4 +61,7 @@ instance Event KeyReleaseEvent data MouseMotionEvent = MouseMotionEvent Float Float deriving (Typeable, Show) -instance Event MouseMotionEvent
\ No newline at end of file +instance Event MouseMotionEvent + +data MousePressEvent = MousePressEvent Float Float deriving (Typeable, Show) +instance Event MousePressEvent |