Partially successful change of terminals to external entities
This commit is contained in:
@@ -167,8 +167,9 @@ rotateCamera cfig w
|
||||
keyl = SDL.ScancodeQ `S.member` _keys w && notAtTerminal w
|
||||
keyr = SDL.ScancodeE `S.member` _keys w && notAtTerminal w
|
||||
|
||||
-- TODO check where/how this is used
|
||||
notAtTerminal :: World -> Bool
|
||||
notAtTerminal w = isNothing $ w ^? hud . hudElement . subInventory . termParams . termInput . _Just
|
||||
notAtTerminal w = isNothing $ w ^? hud . hudElement . subInventory . termID
|
||||
|
||||
--zoomCamBy :: Float -> World -> World
|
||||
--zoomCamBy x w = w {_cameraZoom = max (_cameraZoom w + x) 0.01}
|
||||
|
||||
Reference in New Issue
Block a user