mirror of
https://github.com/git-learning-game/oh-my-git.git
synced 2025-05-07 05:02:04 +02:00
Friend level with some interactivity
This commit is contained in:
parent
275ffc5ec4
commit
497c8a81ea
2 changed files with 50 additions and 7 deletions
scenes
|
@ -164,18 +164,14 @@ func repopulate_chapters():
|
|||
chapter_select.select(current_chapter)
|
||||
|
||||
func update_repos():
|
||||
var win_states = levels.chapters[current_chapter].levels[current_level].check_win()
|
||||
show_win_status(win_states)
|
||||
|
||||
for r in repositories:
|
||||
var repo = repositories[r]
|
||||
repo.update_everything()
|
||||
file_browser.update()
|
||||
index.update()
|
||||
|
||||
#if levels.chapters[current_chapter].levels[current_level].check_win():
|
||||
# show_win_status()
|
||||
|
||||
var win_states = levels.chapters[current_chapter].levels[current_level].check_win()
|
||||
show_win_status(win_states)
|
||||
|
||||
|
||||
func toggle_cards():
|
||||
cards.visible = not cards.visible
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue