Add toggle for visual sounds
This commit is contained in:
@@ -13,8 +13,8 @@ module Dodge.Config.Data (
|
||||
, windowX
|
||||
, windowY
|
||||
, rotate_to_wall
|
||||
, show_sound
|
||||
) where
|
||||
|
||||
import Data.Aeson
|
||||
import GHC.Generics
|
||||
--import System.Directory
|
||||
@@ -29,6 +29,7 @@ data Configuration = Configuration
|
||||
, _windowX :: Float
|
||||
, _windowY :: Float
|
||||
, _rotate_to_wall :: Bool
|
||||
, _show_sound :: Bool
|
||||
}
|
||||
deriving (Generic, Show)
|
||||
makeLenses ''Configuration
|
||||
@@ -49,4 +50,5 @@ defaultConfig = Configuration
|
||||
, _windowX = 800
|
||||
, _windowY = 600
|
||||
, _rotate_to_wall = True
|
||||
, _show_sound = False
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user