Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
LI Qi
Bowling
Commits
11838425
Commit
11838425
authored
Feb 24, 2016
by
Qi LI
Browse files
return 0 as total score when there is no lance
parent
a23e6484
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/game/ScoreTable.java
View file @
11838425
...
...
@@ -14,6 +14,7 @@ public class ScoreTable {
}
public
int
getCurrentScore
()
{
if
(
frames
.
size
()
==
0
)
return
0
;
return
frames
.
get
(
frames
.
size
()
-
1
).
getScore
();
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment