Delete cruft, add Reader monad to some internal ai
This commit is contained in:
@@ -169,8 +169,10 @@ ffToDraw w = filter (lineOnScreen w . _ffLine) $
|
||||
_forceFields w
|
||||
|
||||
drawFF :: ForceField -> Picture
|
||||
drawFF (FF {_ffLine = l, _ffColor = col}) = pictures [color white $ line l, color col
|
||||
$ lineOfThickness 6 l ]
|
||||
drawFF FF{_ffLine = l, _ffColor = col} = pictures
|
||||
[color white $ line l
|
||||
, color col $ lineOfThickness 6 l
|
||||
]
|
||||
|
||||
drawFFShadow :: World -> ForceField -> [Picture]
|
||||
drawFFShadow w ff
|
||||
|
||||
Reference in New Issue
Block a user