Separate out concrete part of world
This commit is contained in:
@@ -14,11 +14,11 @@ import Geometry.Vector
|
||||
import Control.Lens
|
||||
|
||||
addRoomPolyDecorations :: [Room] -> World -> World
|
||||
addRoomPolyDecorations rms w = w & decorations %~
|
||||
addRoomPolyDecorations rms w = w & cWorld . decorations %~
|
||||
IM.insertWithNewKeys (map roomPolyDecorations rms)
|
||||
|
||||
addRoomLinkDecorations :: [Room] -> World -> World
|
||||
addRoomLinkDecorations rms w = w & decorations %~
|
||||
addRoomLinkDecorations rms w = w & cWorld . decorations %~
|
||||
IM.insertWithNewKeys (map roomLinkDecorations rms)
|
||||
|
||||
roomLinkDecorations :: Room -> Picture
|
||||
|
||||
Reference in New Issue
Block a user