Work on wrist shields, cleanup
This commit is contained in:
@@ -114,8 +114,10 @@ drawMousePosition cfig w
|
||||
mwp = mouseWorldPos w
|
||||
|
||||
drawWallIDs :: Configuration -> World -> Picture
|
||||
drawWallIDs cfig w = setLayer FixedCoordLayer
|
||||
$ foldMap f (_walls w)
|
||||
drawWallIDs cfig w
|
||||
| _debug_walls cfig = setLayer FixedCoordLayer
|
||||
$ foldMap f (_walls w)
|
||||
| otherwise = mempty
|
||||
where
|
||||
f wl
|
||||
| dist (_crPos $ you w) (fst (_wlLine wl)) > 200 = mempty -- this should be improved with a better "on screen test"
|
||||
|
||||
Reference in New Issue
Block a user