{-| Module : Graphics.FreeGame Copyright : (C) 2012 Fumiaki Kinoshita License : BSD-style (see the file LICENSE) Maintainer : Fumiaki Kinsohita free-game is a library that abstracts and purifies GUI applications with simple interfaces. -} module Graphics.FreeGame ( -- * Examples -- $example -- * Reexports module Graphics.FreeGame.Base, module Graphics.FreeGame.Data.Bitmap, module Graphics.FreeGame.Data.Font, module Graphics.FreeGame.Input, module Graphics.FreeGame.Util, runGame ) where import Graphics.FreeGame.Base import Graphics.FreeGame.Input import Graphics.FreeGame.Util import Graphics.FreeGame.Data.Bitmap import Graphics.FreeGame.Data.Font import qualified Graphics.FreeGame.Backends.GLFW as GLFW -- | Run a 'Game' computation. runGame :: GameParam -> Game a -> IO (Maybe a) runGame = GLFW.runGame {- $example > import Graphics.FreeGame.Simple > main = runSimple defaultGameParam () return shows a window and does nothing. for more examples, see . -}