conways-game-of-life/Graphics/Config.hs

12 lines
225 B
Haskell
Raw Normal View History

2021-12-28 14:26:32 -05:00
module Graphics.Config where
import FRP.Yampa (Time)
import GOL.Rule (Rule)
import Graphics.Gloss (Color)
data Config = Config
{ cellColor :: Color,
rule :: Rule,
tickRate :: Time,
windowSize :: (Int, Int)
}