Door destruction happens during door update, updates pathing
This commit is contained in:
@@ -37,7 +37,6 @@ data Door = Door
|
||||
, _drLerp :: Float
|
||||
, _drFootPrint :: IM.IntMap (Point2,Point2)
|
||||
, _drHP :: Int
|
||||
, _drDeath :: DrWdWd
|
||||
, _drSpeed :: Float
|
||||
, _drPushedBy :: PushSource
|
||||
, _drPushes :: Maybe Int
|
||||
|
||||
@@ -60,10 +60,7 @@ data WdP2f
|
||||
= WdP2f0
|
||||
| WdP2fDoorPosition Int
|
||||
|
||||
data DrWdWd
|
||||
= DrWdId
|
||||
| DrWdMakeDoorDebris
|
||||
| DoorLerp
|
||||
data DrWdWd = DrWdId | DoorLerp
|
||||
|
||||
deriveJSON defaultOptions ''ItCrWdWd
|
||||
deriveJSON defaultOptions ''WdWd
|
||||
|
||||
Reference in New Issue
Block a user