Start to add mountable objects
This commit is contained in:
+10
-4
@@ -1022,15 +1022,21 @@ data Door = Door
|
||||
, _drHP :: Int
|
||||
, _drDeath :: Door -> World -> World
|
||||
, _drSpeed :: Float
|
||||
, _drSupport :: Support
|
||||
, _drPushedBy :: PushSource
|
||||
, _drPushes :: Maybe Int
|
||||
, _drMounts :: [MountedObject]
|
||||
}
|
||||
data MountedObject
|
||||
= MountedLS Int
|
||||
| MountedProp Int
|
||||
deriving (Eq,Ord,Show)
|
||||
|
||||
data DoorStatus = DoorOpen | DoorClosed | DoorHalfway | DoorInt Int
|
||||
deriving (Eq, Ord, Show)
|
||||
|
||||
data Support = SupportsItself
|
||||
| SupportedBy Int
|
||||
| Unsupported
|
||||
data PushSource = PushesItself
|
||||
| PushedBy Int
|
||||
| NotPushed
|
||||
|
||||
data ActionPlan
|
||||
= Inanimate
|
||||
|
||||
Reference in New Issue
Block a user