Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -3,11 +3,14 @@
|
||||
|
||||
module Dodge.Data.PressPlate where
|
||||
|
||||
import LinearHelp
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import Geometry.Data
|
||||
import Picture
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data PressPlateEvent
|
||||
= PressPlateId
|
||||
@@ -27,3 +30,5 @@ data PressPlate = PressPlate
|
||||
makeLenses ''PressPlate
|
||||
deriveJSON defaultOptions ''PressPlateEvent
|
||||
deriveJSON defaultOptions ''PressPlate
|
||||
$($(derive [d| instance Deriving (Store PressPlateEvent) |]))
|
||||
$($(derive [d| instance Deriving (Store PressPlate) |]))
|
||||
|
||||
Reference in New Issue
Block a user