Start moving creature properties out of records
This commit is contained in:
@@ -68,19 +68,26 @@ data Pulse = PulseStatus
|
||||
|
||||
data CreatureType
|
||||
= Avatar
|
||||
{ _skinHead :: Color
|
||||
, _skinUpper :: Color
|
||||
, _skinLower :: Color
|
||||
, _avatarPulse :: Pulse
|
||||
-- { _skinHead :: Color
|
||||
-- , _skinUpper :: Color
|
||||
-- , _skinLower :: Color
|
||||
{ _avatarPulse :: Pulse
|
||||
}
|
||||
| Humanoid
|
||||
| AvatarDead
|
||||
| ChaseCrit
|
||||
| SwarmCrit
|
||||
| AutoCrit
|
||||
| BarrelCrit{_barrelType :: BarrelType}
|
||||
| LampCrit {_lampHeight :: Float, _lampColor :: Point3, _lampLSID :: Maybe Int}
|
||||
|
||||
data CreatureShape
|
||||
= Humanoid
|
||||
{ _skinHead :: Color
|
||||
, _skinUpper :: Color
|
||||
, _skinLower :: Color
|
||||
, _humanoidAI :: HumanoidAI
|
||||
}
|
||||
| Barreloid {_barrelType :: BarrelType}
|
||||
| Lampoid {_lampHeight :: Float, _lampColor :: Point3, _lampLSID :: Maybe Int}
|
||||
| Barreloid
|
||||
| NonDrawnCreature
|
||||
deriving (Eq, Ord, Show, Read) --Generic, Flat)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user