Rename Perception datatype/fields
This commit is contained in:
@@ -9,10 +9,8 @@ import Control.Lens
|
||||
{- | Creature attempts to moves under its own steam.
|
||||
The idea is that this may or may not work, depending on the status of the creature.
|
||||
For now, though, this cannot fail. -}
|
||||
crMvBy
|
||||
:: Point2 -- ^ Movement translation vector, will be made relative to creature direction
|
||||
-> Creature
|
||||
-> Creature
|
||||
crMvBy :: Point2 -- ^ Movement translation vector, will be made relative to creature direction
|
||||
-> Creature -> Creature
|
||||
crMvBy p cr = crMvAbsolute (rotateV (_crDir cr) p) cr
|
||||
|
||||
crMvAbsolute
|
||||
|
||||
Reference in New Issue
Block a user