Use circles instead of points for zome wall zones
This commit is contained in:
@@ -223,7 +223,7 @@ drawPathBetween u = concat $ do
|
||||
drawWallsNearYou :: World -> Picture
|
||||
drawWallsNearYou w = concat $ do
|
||||
p <- w ^? cWorld . lWorld . creatures . ix 0 . crPos . _xy
|
||||
return $ setLayer DebugLayer $ foldMap f $ wlsNearPoint p w
|
||||
return $ setLayer DebugLayer $ foldMap f $ wlsNearCirc p 30 w
|
||||
where
|
||||
f wl = color violet $ thickLine 3 [a, b]
|
||||
<> uncurryV translate (0.5 *^ (a + b)) (scale 0.05 0.05 . text $ show (_wlID wl))
|
||||
|
||||
Reference in New Issue
Block a user