1
0
mirror of https://github.com/vlang/v.git synced 2023-08-10 21:13:21 +03:00

checker: prepare for the is_changed check

This commit is contained in:
Alexander Medvednikov
2020-06-02 09:00:51 +02:00
parent 9fcb8536e8
commit 138d730dfa
4 changed files with 35 additions and 12 deletions

View File

@ -362,7 +362,7 @@ fn (mut g Game) draw_ui() {
if g.state == .gameover {
g.gg.draw_rect(0, win_height / 2 - text_size, win_width,
5 * text_size, ui_color)
g.ft.draw_text(1, win_height / 2 + 0 * text_size, 'Game Over', over_cfg)
g.gg.draw_text(1, win_height / 2 + 0 * text_size, 'Game Over', over_cfg)
g.ft.draw_text(1, win_height / 2 + 2 * text_size, 'Space to restart', over_cfg)
} else if g.state == .paused {
g.gg.draw_rect(0, win_height / 2 - text_size, win_width,