tracer/src/Types/NPCState.hs

14 lines
245 B
Haskell
Raw Normal View History

2018-08-10 06:58:26 +00:00
module Types.NPCState where
import Control.Concurrent.MVar (MVar)
import Linear (V2)
data NPCMoveState
= NPCWalking
{ npcWalkPath :: [V2 Int]
}
| NPCStanding
{ npcStandTime :: Double
, npcFuturePath :: MVar [V2 Int]
}