Shuffle functions
This commit is contained in:
@@ -20,7 +20,7 @@ import qualified SDL
|
||||
yourControl :: Creature -> World -> World
|
||||
yourControl cr w
|
||||
| inputFocus w = w
|
||||
| intopinv = w & cWorld . lWorld . creatures . ix (_crID cr)
|
||||
| not intopinv = w & cWorld . lWorld . creatures . ix (_crID cr)
|
||||
%~ wasdWithAiming w (_mvSpeed $ _crMvType cr)
|
||||
| otherwise =
|
||||
w
|
||||
|
||||
Reference in New Issue
Block a user