Remove generic and flat instances
This commit is contained in:
@@ -10,7 +10,6 @@ module Dodge.Data.Door (
|
||||
module Dodge.Data.WorldEffect,
|
||||
) where
|
||||
|
||||
import Flat
|
||||
import LinearHelp ()
|
||||
import Control.Lens
|
||||
import Data.Aeson
|
||||
@@ -22,13 +21,13 @@ import Dodge.Data.WorldEffect
|
||||
import Geometry.Data
|
||||
|
||||
data DoorStatus = DoorOpen | DoorClosed | DoorHalfway | DoorInt Int
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
deriving (Eq, Ord, Show, Read) --Generic, Flat)
|
||||
|
||||
data PushSource
|
||||
= PushesItself
|
||||
| PushedBy Int
|
||||
| NotPushed
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
deriving (Eq, Ord, Show, Read) --Generic, Flat)
|
||||
|
||||
data Door = Door
|
||||
{ _drID :: Int
|
||||
@@ -48,7 +47,7 @@ data Door = Door
|
||||
, _drObstructs :: [(Int, Int, PathEdge)]
|
||||
, _drObstacleType :: EdgeObstacle
|
||||
}
|
||||
deriving (Eq, Ord, Show, Read, Generic, Flat)
|
||||
deriving (Eq, Ord, Show, Read) --Generic, Flat)
|
||||
|
||||
makeLenses ''Door
|
||||
deriveJSON defaultOptions ''DoorStatus
|
||||
|
||||
Reference in New Issue
Block a user