Ready for takeoff
This commit is contained in:
parent
b36a7a4b95
commit
b622b93932
10 changed files with 106 additions and 29 deletions
16
src/Main.hs
16
src/Main.hs
|
@ -1,4 +1,16 @@
|
|||
import VoorbeeldModule (hoi)
|
||||
import RPGEngine
|
||||
|
||||
----------------------------- Constants ------------------------------
|
||||
|
||||
-- Title of the game
|
||||
title :: String
|
||||
title = "RPG Engine"
|
||||
|
||||
-- Framerate of the game
|
||||
fps :: Int
|
||||
fps = 60
|
||||
|
||||
----------------------------------------------------------------------
|
||||
|
||||
main :: IO ()
|
||||
main = putStrLn hoi
|
||||
main = playRPGEngine title fps
|
||||
|
|
Reference in a new issue