Allow arbitrary changes to a room when using a link slot

This commit is contained in:
2021-11-14 01:47:33 +00:00
parent 4a089ff0cc
commit 52946f33a7
10 changed files with 55 additions and 18 deletions
+4 -1
View File
@@ -2,11 +2,13 @@ module Dodge.Default.Room
where
import Geometry.Data
import Dodge.LevelGen.Data
import qualified Data.IntMap.Strict as IM
defaultRoom :: Room
defaultRoom = Room
{ _rmPolys = []
, _rmLinks = []
, _rmLinkEff = []
, _rmPos = []
, _rmPath = []
, _rmPmnts = []
@@ -20,5 +22,6 @@ defaultRoom = Room
, _rmRandPSs = []
, _rmLabel = Nothing
, _rmTakeFrom = Nothing
, _rmWires = []
, _rmStartWires = IM.empty
, _rmEndWires = IM.empty
}