Go back to JSON encoding
This commit is contained in:
@@ -8,9 +8,6 @@ module Dodge.Data.Wall (
|
||||
module Dodge.Data.Material,
|
||||
) where
|
||||
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
import Data.Binary
|
||||
import Flat
|
||||
import LinearHelp ()
|
||||
import Color
|
||||
@@ -49,7 +46,6 @@ data Opacity
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
|
||||
data WallDraw = DrawForceField
|
||||
| HackWallDraw
|
||||
deriving (Eq, Ord, Show, Read, Enum, Bounded, Generic, Flat)
|
||||
|
||||
data WallStructure
|
||||
@@ -69,7 +65,3 @@ deriveJSON defaultOptions ''Wall
|
||||
deriveJSON defaultOptions ''Opacity
|
||||
deriveJSON defaultOptions ''WallDraw
|
||||
deriveJSON defaultOptions ''WallStructure
|
||||
$($(derive [d| instance Deriving (Store Wall ) |]))
|
||||
$($(derive [d| instance Deriving (Store Opacity) |]))
|
||||
$($(derive [d| instance Deriving (Store WallDraw ) |]))
|
||||
$($(derive [d| instance Deriving (Store WallStructure) |]))
|
||||
|
||||
Reference in New Issue
Block a user