aboutsummaryrefslogtreecommitdiff
path: root/Demos/Pong/Pong.hs
diff options
context:
space:
mode:
Diffstat (limited to 'Demos/Pong/Pong.hs')
-rw-r--r--Demos/Pong/Pong.hs16
1 files changed, 8 insertions, 8 deletions
diff --git a/Demos/Pong/Pong.hs b/Demos/Pong/Pong.hs
index b048bbc..fd7fbeb 100644
--- a/Demos/Pong/Pong.hs
+++ b/Demos/Pong/Pong.hs
@@ -7,12 +7,12 @@ module Pong
7 ) 7 )
8where 8where
9 9
10import Data.Monoid (mconcat) 10import Data.Monoid (mconcat)
11import GHC.Float (double2Float) 11import GHC.Float (double2Float)
12import Spear.Math.AABB 12import Spear.Math.AABB
13import Spear.Math.Spatial2 13import Spear.Math.Spatial2
14import Spear.Math.Vector 14import Spear.Math.Vector
15import Spear.Step 15import Spear.Step
16 16
17-- Configuration 17-- Configuration
18 18
@@ -42,8 +42,8 @@ data GameEvent
42-- Game objects 42-- Game objects
43 43
44data GameObject = GameObject 44data GameObject = GameObject
45 { aabb :: AABB2, 45 { aabb :: AABB2,
46 obj :: Obj2, 46 obj :: Obj2,
47 gostep :: Step [GameObject] [GameEvent] GameObject GameObject 47 gostep :: Step [GameObject] [GameEvent] GameObject GameObject
48 } 48 }
49 49