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