Delete cruft, add Reader monad to some internal ai

This commit is contained in:
2021-05-16 21:42:11 +02:00
parent 0798cc0b0e
commit d7fcdbf550
69 changed files with 721 additions and 2894 deletions
+7 -2
View File
@@ -1,5 +1,8 @@
{-# LANGUAGE TemplateHaskell #-}
{-# LANGUAGE StrictData #-}
module Dodge.Creature.AlertLevel.Data
where
import Control.Lens
data AwakeLevel
= Comatose
@@ -9,9 +12,11 @@ data AwakeLevel
| Overstrung
data AttentionDir
= AttentiveTo [Int]
| Fixated Int
= AttentiveTo {_unAttentiveTo :: [Int]}
| Fixated {_unFixated :: Int }
data AwarenessLevel
= AwarenessInt Int
| Cognizant Int
makeLenses ''AttentionDir