Cleanup
This commit is contained in:
@@ -16,10 +16,10 @@ import Data.Maybe
|
||||
yourControl
|
||||
:: Creature
|
||||
-> World
|
||||
-> (World -> World, Maybe Creature)
|
||||
-> (World -> World, Creature)
|
||||
yourControl cr w =
|
||||
( updateUsingInput
|
||||
, Just . mouseActionsCr (_mouseButtons w) $ wasdWithAiming w speed 0 cr
|
||||
, mouseActionsCr (_mouseButtons w) $ wasdWithAiming w speed 0 cr
|
||||
)
|
||||
where
|
||||
speed = _mvSpeed $ _crMvType cr
|
||||
|
||||
Reference in New Issue
Block a user