Remove separate wall color, should be handled by material type
This commit is contained in:
@@ -6,7 +6,16 @@ module Dodge.Data.Material where
|
||||
import Data.Aeson
|
||||
import Data.Aeson.TH
|
||||
|
||||
data Material = Wood | Dirt | Stone | Glass | Metal | Crystal | Flesh | Electronics
|
||||
data Material
|
||||
= Wood
|
||||
| Dirt
|
||||
| Stone
|
||||
| Glass
|
||||
| Metal
|
||||
| Crystal
|
||||
| Flesh
|
||||
| Electronics
|
||||
| ForceField
|
||||
deriving (Eq, Ord, Show, Bounded, Enum, Read) --Generic, Flat)
|
||||
|
||||
deriveJSON defaultOptions ''Material
|
||||
|
||||
Reference in New Issue
Block a user