Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -9,6 +9,8 @@ import Data.Aeson.TH
|
||||
import Dodge.Data.Item.Use.Consumption.Ammo
|
||||
import Geometry.Data
|
||||
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
data Proj
|
||||
= Shell
|
||||
{ _prjPos :: Point2
|
||||
@@ -29,3 +31,4 @@ data Proj
|
||||
|
||||
makeLenses ''Proj
|
||||
deriveJSON defaultOptions ''Proj
|
||||
$($(derive [d| instance Deriving (Store Proj) |]))
|
||||
|
||||
Reference in New Issue
Block a user