Add more debug info for selected creatures

This commit is contained in:
2023-04-30 13:55:54 +01:00
parent 5b1212e4f6
commit 08e71e5451
17 changed files with 116 additions and 50 deletions
+5 -5
View File
@@ -174,8 +174,8 @@ data Action
--deriving (Eq, Ord, Show, Read) --Generic, Flat)
data Strategy
= Flank Int
| Ambush Int
= Flank {_flankTarget :: Int}
| Ambush {_ambushTarget :: Int}
| Lure Int Point2
| Patrol [Point2]
| ShootAt Int
@@ -183,7 +183,7 @@ data Strategy
| WatchAndWait
| WarningCry
| LookAround
| CloseToMelee Int
| CloseToMelee {_meleeTarget :: Int}
| StrategyActions Strategy [Action]
| GetTo Point2
| Reload
@@ -194,8 +194,8 @@ data Strategy
data Goal
= LiveLongAndProsper
| Kill Int
| SentinelAt Point2 Float
| Kill {_killTarget :: Int}
| SentinelAt {_sentinelPos :: Point2, _sentinelDir :: Float}
deriving (Eq, Ord, Show) --Generic, Flat)
--deriving (Eq, Ord, Show, Read) --Generic, Flat)