Add spawner gun
This commit is contained in:
@@ -37,8 +37,8 @@ aFlameParticle t pos vel maycid = Pt'
|
||||
, _btHitEffect' = destroyOnImpact (doFlameDam 1) noEff noEff
|
||||
}
|
||||
|
||||
makeFlame :: Point2 -> Point2 -> Maybe Int -> World -> World
|
||||
makeFlame pos vel maycid = over particles' (aFlameParticle 100 pos vel maycid : )
|
||||
makeFlame :: Int -> Point2 -> Point2 -> Maybe Int -> World -> World
|
||||
makeFlame t pos vel maycid = over particles' (aFlameParticle t pos vel maycid : )
|
||||
|
||||
drawFlame :: Point2 -> Particle' -> Picture
|
||||
drawFlame rotd pt = thePic
|
||||
|
||||
Reference in New Issue
Block a user