bump module NPC to affection 0.0.0.10

This commit is contained in:
nek0 2020-05-05 06:31:36 +02:00
parent 8f2366502b
commit 81e16c4428

View file

@ -33,7 +33,7 @@ import Object ()
getPosBounds
:: SystemT
Entity
(AffectionState (AffectionData UserData) IO)
(AffectionState AffectionData IO)
[(V2 Double, Boundaries Double)]
getPosBounds = do
efor allEnts $ do
@ -47,10 +47,10 @@ getPosBounds = do
updateNPCs
:: M.Matrix (Maybe ImgId)
-> M.Matrix TileState
-> SystemState Entity (AffectionState (AffectionData UserData) IO)
-> SystemState Entity (AffectionState AffectionData IO)
-> V.Vector ReachPoint
-> Double
-> SystemT Entity (AffectionState (AffectionData UserData) IO) ()
-> SystemT Entity (AffectionState AffectionData IO) ()
updateNPCs imgmat tsmat ws rrp dt = do
updateStats dt
posbounds <- getPosBounds
@ -263,7 +263,7 @@ standStill imgmat tsmat pos' rot' ws posbounds rp = do
updateStats
:: Double
-> SystemT Entity (AffectionState (AffectionData UserData) IO) ()
-> SystemT Entity (AffectionState AffectionData IO) ()
updateStats dt =
emap allEnts $ do
with npcStats