Add Store instances

This commit is contained in:
2022-08-21 12:21:05 +01:00
parent 1ce7d4a72d
commit dd62e30026
92 changed files with 465 additions and 255 deletions
+3 -1
View File
@@ -12,6 +12,8 @@ module Dodge.Data.World (
module Dodge.Data.Hammer,
) where
import TH.Derive
import Data.Store
import Data.Binary
import Flat
import Dodge.Data.SaveSlot
@@ -54,7 +56,6 @@ data TimeFlowStatus
| RewindingLastFrame
| NormalTimeFlow
deriving (Eq, Ord, Show, Read, Generic, Flat)
instance Binary TimeFlowStatus
data WorldHammer
= SubInvHam
@@ -68,3 +69,4 @@ type HitEffect' =
(World, Maybe Flame)
makeLenses ''World
$($(derive [d| instance Deriving (Store TimeFlowStatus) |]))