Improve doors
This commit is contained in:
@@ -40,7 +40,10 @@ data Door = Door
|
||||
, _drMounts :: [MountedObject]
|
||||
}
|
||||
|
||||
data DoorUpdate = DoorDoNothing | DoorLerp {_drLerpSpeed :: Float}
|
||||
data DoorUpdate
|
||||
= DoorDoNothing
|
||||
| DoorLerp {_drLerpSpeed :: Float}
|
||||
| DoorLerpWithTimer {_drLerpTimer :: Int, _drLerpSpeed :: Float}
|
||||
|
||||
|
||||
makeLenses ''Door
|
||||
|
||||
Reference in New Issue
Block a user