Files
loop/src/Dodge/Particle/Bullet/Draw.hs
T
2021-08-28 12:09:39 +01:00

11 lines
267 B
Haskell

module Dodge.Particle.Bullet.Draw
( drawBul
) where
import Dodge.Data
import Picture
drawBul :: Particle -> Picture
drawBul pt = setLayer 1 . setDepth 20 . color thecolor $ thickLine (take 3 $ _btTrail' pt) (_btWidth' pt)
where
thecolor = _btColor' pt