Cleanup module pathing
This commit is contained in:
@@ -1,23 +0,0 @@
|
||||
{-# LANGUAGE StrictData #-}
|
||||
{-# LANGUAGE DeriveGeneric #-}
|
||||
module Dodge.Data.Object where
|
||||
import GHC.Generics
|
||||
import Data.Aeson
|
||||
data ObjectType
|
||||
= ObTerminal
|
||||
| ObCreature
|
||||
| ObMachine
|
||||
| ObWall
|
||||
| ObDoor
|
||||
| ObButton
|
||||
| ObForegroundShape
|
||||
| ObLightSource
|
||||
| ObProp
|
||||
| ObTrigger
|
||||
| ObItem
|
||||
deriving (Eq,Show,Ord,Read,Enum,Bounded,Generic)
|
||||
instance ToJSON ObjectType where
|
||||
toEncoding = genericToEncoding defaultOptions
|
||||
instance FromJSON ObjectType
|
||||
instance ToJSONKey ObjectType
|
||||
instance FromJSONKey ObjectType
|
||||
Reference in New Issue
Block a user