Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -3,10 +3,13 @@
|
||||
|
||||
module Dodge.Data.LinearShockwave where
|
||||
|
||||
import LinearHelp
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
import Geometry.Data
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data LinearShockwave = LinearShockwave
|
||||
{ _lwPos :: Point2
|
||||
@@ -18,3 +21,4 @@ data LinearShockwave = LinearShockwave
|
||||
|
||||
makeLenses ''LinearShockwave
|
||||
deriveJSON defaultOptions ''LinearShockwave
|
||||
$($(derive [d| instance Deriving (Store LinearShockwave) |]))
|
||||
|
||||
Reference in New Issue
Block a user