Cleanup
This commit is contained in:
+1
-11
@@ -380,17 +380,7 @@ data WorldBeams = WorldBeams
|
||||
{- Objects without ids.
|
||||
Update themselves, perhaps with side effects. -}
|
||||
data Particle
|
||||
= PtInvShockwave
|
||||
{ _ptUpdate :: World -> Particle -> (World, Maybe Particle)
|
||||
, _ptColor :: Color
|
||||
, _ptPos :: Point2
|
||||
, _ptRad :: Float
|
||||
, _ptDam :: Int
|
||||
, _ptPush :: Float
|
||||
, _ptMaxTime :: Int
|
||||
, _ptTimer :: Int
|
||||
}
|
||||
| ShockLine
|
||||
= ShockLine
|
||||
{ _ptUpdate :: World -> Particle -> (World, Maybe Particle)
|
||||
, _ptPointDirs :: [[(Point2,Float)]]
|
||||
, _ptTimer :: Int
|
||||
|
||||
Reference in New Issue
Block a user