Commit before attempting to remove ptDraw field
This commit is contained in:
@@ -636,6 +636,15 @@ data Particle
|
||||
{ _ptDraw :: Particle -> Picture
|
||||
, _ptUpdate :: World -> Particle -> (World, Maybe Particle)
|
||||
}
|
||||
| BlipParticle
|
||||
{ _ptDraw :: Particle -> Picture
|
||||
, _ptColor :: Color
|
||||
, _ptTimer :: Int
|
||||
, _ptMaxTime :: Int
|
||||
, _ptUpdate :: World -> Particle -> (World, Maybe Particle)
|
||||
, _ptRad :: Float
|
||||
, _ptPos :: Point2
|
||||
}
|
||||
| RadarCircleParticle
|
||||
{ _ptDraw :: Particle -> Picture
|
||||
, _ptUpdate :: World -> Particle -> (World, Maybe Particle)
|
||||
|
||||
Reference in New Issue
Block a user