Add newtype for item id int
This commit is contained in:
@@ -13,6 +13,7 @@ module Dodge.Data.World (
|
||||
module Dodge.Data.Input,
|
||||
) where
|
||||
|
||||
import NewInt
|
||||
import Control.Lens
|
||||
import Data.IntMap.Strict (IntMap)
|
||||
import Data.IntSet (IntSet)
|
||||
@@ -62,7 +63,7 @@ data TimeFlowStatus
|
||||
{ _scrollSmoothing :: Int
|
||||
, _reverseAmount :: Int
|
||||
, _futureWorlds :: [LWorld]
|
||||
, _scrollItemLocation :: Int
|
||||
, _scrollItemID :: NewInt ItmInt
|
||||
}
|
||||
| CameraScrollTimeFlow
|
||||
{ _scrollSmoothing :: Int
|
||||
@@ -71,11 +72,11 @@ data TimeFlowStatus
|
||||
}
|
||||
| RewindLeftClick
|
||||
{ _reverseAmount :: Int
|
||||
, _scrollItemLocation :: Int
|
||||
, _scrollItemID :: NewInt ItmInt
|
||||
}
|
||||
| PausedTimeFlow
|
||||
{ _timeFlowCharge :: Int
|
||||
, _scrollItemLocation :: Int
|
||||
, _scrollItemID :: NewInt ItmInt
|
||||
}
|
||||
|
||||
makeLenses ''TimeFlowStatus
|
||||
|
||||
Reference in New Issue
Block a user