Files
loop/src/Dodge/Particle/Bullet/Draw.hs
T
2021-12-15 22:21:58 +00:00

12 lines
250 B
Haskell

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