This repository has been archived on 2023-06-24. You can view files and clone it, but you cannot make any changes to it's state, such as pushing and creating new issues, pull requests or comments.
2022FuncProg-project3-RPGEn.../lib/render/RenderGame.hs
2022-12-13 23:21:51 +01:00

19 lines
460 B
Haskell

-- Allows to render the played game
module RenderGame
( initWindow -- Initialize a window to play in
, render -- Rener the game
) where
import Game
import Graphics.Gloss
----------------------------------------------------------------------
-- Render the game
render :: Game -> Picture
render _ = Blank
-- Initialize a window to play in
initWindow :: String -> (Int, Int) -> (Int, Int) -> Display
initWindow title dims offs = InWindow title dims offs