nyx-game-1.0.0.0: A bullet-hell game made with SDL2.
Play.Engine.Settings
data Settings Source #
Constructors
Fields
Defined in Play.Engine.Settings
Methods
showsPrec :: Int -> Settings -> ShowS #
show :: Settings -> String #
showList :: [Settings] -> ShowS #
windowSize :: Lens' Settings Size Source #
muteMusic :: Lens' Settings Bool Source #
keyStats :: Lens' Settings Keys Source #
keyMap :: Lens' Settings [(Key, Scancode)] Source #
joyKeyStats :: Lens' Settings Keys Source #
type Result a = StateT Settings (Except [String]) a Source #
runResult :: b -> StateT b (ExceptT e Identity) a -> Either e (b, a) Source #
def :: Settings Source #