Closes #7
This commit is contained in:
parent
1dc8aac4c7
commit
becd305e01
2 changed files with 12 additions and 6 deletions
|
@ -4,12 +4,14 @@ module RPGEngine.Render.Menu
|
|||
|
||||
import RPGEngine.Render.Core (Renderer)
|
||||
|
||||
import RPGEngine.Config ( uizoom, textColor )
|
||||
import RPGEngine.Data (State)
|
||||
|
||||
import Graphics.Gloss (text)
|
||||
import Graphics.Gloss (text, scale, color, white, translate)
|
||||
|
||||
------------------------------ Exported ------------------------------
|
||||
|
||||
-- TODO
|
||||
renderMenu :: Renderer State
|
||||
renderMenu _ = text "[Press any key to start]"
|
||||
renderMenu _ = scaled $ center $ color textColor $ text "[Press any key to start]"
|
||||
where scaled = scale uizoom uizoom
|
||||
center = translate (-750) 0
|
Reference in a new issue