Attempt to make CWorld correct instance of Store
This commit is contained in:
@@ -10,6 +10,8 @@ import Dodge.Data.Creature.Stance
|
||||
import Dodge.Data.CreatureEffect
|
||||
import Geometry.Data
|
||||
import Sound.Data
|
||||
import TH.Derive
|
||||
import Data.Store
|
||||
|
||||
data ActionPlan
|
||||
= Inanimate
|
||||
@@ -200,3 +202,9 @@ deriveJSON defaultOptions ''Goal
|
||||
makeLenses ''ActionPlan
|
||||
makeLenses ''Impulse
|
||||
makeLenses ''Action
|
||||
$($(derive [d| instance Deriving (Store ActionPlan) |]))
|
||||
$($(derive [d| instance Deriving (Store RandImpulse) |]))
|
||||
$($(derive [d| instance Deriving (Store Impulse) |]))
|
||||
$($(derive [d| instance Deriving (Store Action) |]))
|
||||
$($(derive [d| instance Deriving (Store Strategy) |]))
|
||||
$($(derive [d| instance Deriving (Store Goal) |]))
|
||||
|
||||
Reference in New Issue
Block a user