Start to generalise text input to "terminal signal" input
This commit is contained in:
+1
-1
@@ -57,7 +57,7 @@ generateLevelFromRoomList gr' w =
|
||||
|
||||
|
||||
randomCompass :: World -> World
|
||||
randomCompass w = w & cWorld . cwCamPos . camRot .~ (takeOne [0, 0.5 * pi, pi, 1.5 * pi] & evalState $ _randGen w)
|
||||
randomCompass w = w & cWorld . cwCam . camRot .~ (takeOne [0, 0.5 * pi, pi, 1.5 * pi] & evalState $ _randGen w)
|
||||
|
||||
-- note the order of traversal of the rooms is important
|
||||
-- hence the reverse
|
||||
|
||||
Reference in New Issue
Block a user