Simplify the main loop, events only perform functional update
This commit is contained in:
+1
-1
@@ -41,7 +41,7 @@ main = do
|
||||
sizey = floor $ _windowY con
|
||||
posx = _windowPosX con
|
||||
posy = _windowPosY con
|
||||
setupConLoop
|
||||
setupConLoop'
|
||||
20
|
||||
(T.pack "Simple Game Loop")
|
||||
(winConfig sizex sizey (Just (posx, posy)))
|
||||
|
||||
Reference in New Issue
Block a user