Add rooms, placements and room positions
This commit is contained in:
@@ -100,6 +100,13 @@ lnkBothAnd rlt (p,a) = RoomLink
|
||||
, _rlDir = a
|
||||
}
|
||||
|
||||
lnkBothAnd' :: RoomLinkType -> (Int -> RoomLinkType) -> Int -> (Point2,Float) -> RoomLink
|
||||
lnkBothAnd' rlt ltcon i (p,a) = RoomLink
|
||||
{_rlType = S.fromList [OutLink,InLink,rlt,ltcon i]
|
||||
,_rlPos = p
|
||||
, _rlDir = a
|
||||
}
|
||||
|
||||
toBothLnk :: (Point2,Float) -> RoomLink
|
||||
toBothLnk (p,a) = RoomLink
|
||||
{_rlType = S.fromList [OutLink,InLink]
|
||||
|
||||
Reference in New Issue
Block a user