Add newtype to floor item ids

This commit is contained in:
2024-09-23 22:42:09 +01:00
parent 43b365185d
commit 265da89791
20 changed files with 193 additions and 158 deletions
+2 -1
View File
@@ -1,5 +1,6 @@
module Dodge.Default.World where
import NewInt
import Control.Lens
import Data.Graph.Inductive.Graph hiding ((&))
import qualified Data.Map as M
@@ -125,7 +126,7 @@ defaultLWorld =
, _doors = IM.empty
, _coordinates = IM.empty
, _triggers = IM.empty
, _floorItems = IM.empty
, _floorItems = NIntMap IM.empty
, _worldEvents = []
, _delayedEvents = []
, _pressPlates = IM.empty