Add Binary instances
This commit is contained in:
@@ -5,6 +5,7 @@
|
||||
|
||||
module Dodge.Data.EnergyBall where
|
||||
|
||||
import Data.Binary
|
||||
import Flat
|
||||
import Color
|
||||
import Control.Lens
|
||||
@@ -24,6 +25,7 @@ data EnergyBall = EnergyBall
|
||||
, _ebRot :: Float
|
||||
}
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
instance Binary EnergyBall
|
||||
|
||||
makeLenses ''EnergyBall
|
||||
deriveJSON defaultOptions ''EnergyBall
|
||||
|
||||
Reference in New Issue
Block a user