Verse Library verse

01 Fragment

Defines a function that increments a score and ends the game when a timer finishes.

verse-library/verse-layout-and-structure/01-fragment.verse

OnTimerEnd() : void =
    set CurrentScore += 1
    EndGame()

Comments

    Sign in to vote, comment, or suggest an edit. Sign in