Generalise pathing, usable with flying creatures
This commit is contained in:
@@ -48,7 +48,7 @@ data CreatureType
|
||||
, _avPosture :: AvatarPosture
|
||||
}
|
||||
| ChaseCrit {_meleeCooldown :: Int}
|
||||
| HoverCrit
|
||||
| HoverCrit {_meleeCooldown :: Int}
|
||||
| SwarmCrit
|
||||
| AutoCrit
|
||||
| BarrelCrit {_barrelType :: BarrelType}
|
||||
|
||||
@@ -21,7 +21,7 @@ data Stance = Stance
|
||||
data Carriage
|
||||
= Walking {_strideAmount :: Float, _footForward :: FootForward}
|
||||
| Floating
|
||||
| Flying
|
||||
| Flying {_flyHeight :: Float}
|
||||
| Boosting Point2
|
||||
| Falling {_fallFlail :: Float, _fallFoot :: FootForward}
|
||||
deriving (Eq, Ord, Show, Read) --Generic, Flat)
|
||||
|
||||
Reference in New Issue
Block a user