Add basic corpse shapes
This commit is contained in:
+2
-2
@@ -277,7 +277,7 @@ data Corpse = Corpse
|
||||
{ _cpID :: Int
|
||||
, _cpPos :: Point2
|
||||
, _cpDir :: Float
|
||||
, _cpPict :: SPic
|
||||
, _cpPict :: Corpse -> SPic
|
||||
, _cpRes :: Maybe Creature
|
||||
}
|
||||
data Gust = Gust
|
||||
@@ -339,7 +339,7 @@ data Creature = Creature
|
||||
, _crEquipment :: M.Map EquipPosition Int
|
||||
, _crLeftInvSel :: Maybe Int
|
||||
, _crState :: CreatureState
|
||||
, _crCorpse :: Creature -> SPic
|
||||
, _crCorpse :: Creature -> Corpse -> SPic
|
||||
, _crApplyDamage :: [Damage] -> Creature -> World -> World
|
||||
, _crPastDamage :: Int
|
||||
, _crStance :: Stance
|
||||
|
||||
Reference in New Issue
Block a user