Attempt to make CWorld correct instance of Store

This commit is contained in:
2022-08-20 15:53:37 +01:00
parent e1a555ea02
commit 8571ab9254
89 changed files with 570 additions and 19 deletions
+3
View File
@@ -9,6 +9,8 @@ import Data.Aeson
import Data.Aeson.TH
import Dodge.Data.Damage.Type
import Geometry.Data
import TH.Derive
import Data.Store
data EnergyBall = EnergyBall
{ _ebVel :: Point2
@@ -24,3 +26,4 @@ data EnergyBall = EnergyBall
makeLenses ''EnergyBall
deriveJSON defaultOptions ''EnergyBall
$($(derive [d| instance Deriving (Store EnergyBall) |]))