Skip to content

Commit

Permalink
Kdoc
Browse files Browse the repository at this point in the history
  • Loading branch information
peremunoz committed May 7, 2023
1 parent cbdd277 commit 7bd3bdf
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -118,6 +118,9 @@ class GameScreen : AppCompatActivity() {
return gameState.level
}

/**
* isLastLevel returns true if the game is in the last level.
*/
fun isLastLevel() : Boolean {
return gameState.level == GameLevel.MAX_LEVEL
}
Expand Down

0 comments on commit 7bd3bdf

Please sign in to comment.