Add Store instances
This commit is contained in:
@@ -11,6 +11,8 @@ module Dodge.Data.Universe (
|
||||
module Picture.Data,
|
||||
) where
|
||||
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
import Data.Binary
|
||||
import Flat
|
||||
import Control.Lens
|
||||
@@ -43,7 +45,6 @@ data ConcEffect = NoConcEffect
|
||||
|
||||
data OptionScreenFlag = NormalOptions | GameOverOptions | SplashOptions
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
instance Binary OptionScreenFlag
|
||||
|
||||
data ScreenLayer
|
||||
= OptionScreen
|
||||
@@ -97,3 +98,4 @@ makeLenses ''Universe
|
||||
makeLenses ''ScreenLayer
|
||||
makeLenses ''ConcEffect
|
||||
makeLenses ''MenuOptionDisplay
|
||||
$($(derive [d| instance Deriving (Store OptionScreenFlag ) |]))
|
||||
|
||||
Reference in New Issue
Block a user