Simplify buttons
This commit is contained in:
@@ -73,7 +73,8 @@ twinSlowDoorRoom w h x =
|
||||
thedoor btid =
|
||||
defaultDoor
|
||||
& drSpeed .~ wlSpeed
|
||||
& drTrigger .~ WdBlBtNotOff btid
|
||||
-- & drTrigger .~ WdBlBtNotOff btid
|
||||
& drTrigger .~ WdBlBtOn btid
|
||||
col = dim $ dim $ bright red
|
||||
|
||||
twinSlowDoorChasers :: RandomGen g => State g Room
|
||||
@@ -134,7 +135,8 @@ addButtonSlowDoor x h rm = do
|
||||
putDoubleDoorThen
|
||||
DoorObstacle
|
||||
thewall
|
||||
(WdBlBtNotOff $ fromJust $ _plMID btplmnt)
|
||||
-- (WdBlBtNotOff $ fromJust $ _plMID btplmnt)
|
||||
(WdBlBtOn $ fromJust $ _plMID btplmnt)
|
||||
30
|
||||
(V2 0 h)
|
||||
(V2 x h)
|
||||
|
||||
Reference in New Issue
Block a user