Add laser central room, using new placement/roompos functionality
This commit is contained in:
@@ -36,8 +36,8 @@ data PSType = PutCrit {_unPutCrit :: Creature}
|
||||
-- maybe there is a monadic implementation of this?
|
||||
data PlacementSpot
|
||||
= PS { _psPos :: Point2 , _psRot :: Float }
|
||||
| PSLnk
|
||||
{ _psLnkShift :: RoomPos -> Maybe PlacementSpot
|
||||
| PSPos
|
||||
{ _psLnkShift :: RoomPos -> Maybe (PlacementSpot, RoomPos)
|
||||
, _psLnkRoomEff :: RoomPos -> Room -> Room
|
||||
, _psLnkFallback :: Maybe Placement
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user