Make buttons have shape, expose multiple bugs
This commit is contained in:
+1
-1
@@ -240,7 +240,7 @@ data WorldState
|
||||
| CrNumAlive Int
|
||||
deriving (Eq,Ord)
|
||||
data Button = Button
|
||||
{ _btPict :: Picture
|
||||
{ _btPict :: Button -> SPic
|
||||
, _btPos :: Point2
|
||||
, _btRot :: Float
|
||||
, _btEvent :: Button -> World -> World
|
||||
|
||||
Reference in New Issue
Block a user