Work towards allowing for children to attach to arbitrary link types
This commit is contained in:
@@ -106,7 +106,7 @@ addButtonSlowDoor x h rm = do
|
||||
,( V2 (x/2+50) 5,0::Float)
|
||||
]
|
||||
thePlacement <- takeOne [butDoor butPos butRot ]
|
||||
changeLinkFrom aboveH =<< changeLinkTo belowH (rm
|
||||
shuffleLinks $ setOutLinks aboveH $ setInLinks belowH (rm
|
||||
& rmPmnts %~ (thePlacement :)
|
||||
& rmBound %~ (openDoorBound :)
|
||||
)
|
||||
|
||||
Reference in New Issue
Block a user