Move from store to flat
This commit is contained in:
@@ -1,8 +1,11 @@
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
{-# LANGUAGE DeriveAnyClass #-}
|
||||
{-# LANGUAGE StrictData #-}
|
||||
{-# LANGUAGE TemplateHaskell #-}
|
||||
|
||||
module Dodge.Data.Spark where
|
||||
|
||||
import Flat
|
||||
import LinearHelp
|
||||
import Color
|
||||
import Control.Lens
|
||||
@@ -21,8 +24,7 @@ data Spark = Spark
|
||||
, _skWidth :: Float
|
||||
, _skDamageType :: DamageType
|
||||
}
|
||||
deriving (Eq, Ord, Show, Read)
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
|
||||
makeLenses ''Spark
|
||||
deriveJSON defaultOptions ''Spark
|
||||
$($(derive [d| instance Deriving (Store Spark) |]))
|
||||
|
||||
Reference in New Issue
Block a user