Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Team 4 Sprint 2 - CountdownDisplay fix bug #71

Closed
riotanabe opened this issue Sep 8, 2022 · 5 comments
Closed

Team 4 Sprint 2 - CountdownDisplay fix bug #71

riotanabe opened this issue Sep 8, 2022 · 5 comments
Assignees
Labels
task New task as part of implementing a feature Team 4 Sprint 4: Improve Countdown Clock and Bug Fix

Comments

@riotanabe
Copy link
Contributor

Description

Task: CountdownDisplay fix bug
Feature: Countdown Clock (#3)

Something in countdownDisplay.java is causing an error. Fix the error, and merge it back to main.

Milestones

Completion Deadline: Sep. 7

Member

@riotanabe riotanabe added the task New task as part of implementing a feature label Sep 8, 2022
@riotanabe riotanabe self-assigned this Sep 8, 2022
@riotanabe
Copy link
Contributor Author

Issue was that the package name did not match the package name in the code in countdownDisplay.java.
In MainGameScreen.java, the package name was incorrect when importing countdownDisplay class.
Spelling error.

@riotanabe
Copy link
Contributor Author

Completed merge sept. 7

@riotanabe riotanabe added the Team 4 Sprint 4: Improve Countdown Clock and Bug Fix label Sep 8, 2022
@riotanabe riotanabe reopened this Sep 8, 2022
@riotanabe
Copy link
Contributor Author

riotanabe commented Sep 8, 2022

The fix was not the main issue. Now, the game ends when user clicks "start". The game window just closes and the run ends

@riotanabe
Copy link
Contributor Author

The game closes when click on "countdown" button, but when I changed the screen which clicking the button leads to do eviction menu screen, the window does not close. So, the error is in CountdownScreen or countdownDisplay. Most likely in countdownDisplay, but not sure why the error is occurring because I'm only adding a label to the screen.

@riotanabe riotanabe changed the title CountdownDisplay fix bug Team 4 Sprint 2 - CountdownDisplay fix bug Sep 8, 2022
@riotanabe
Copy link
Contributor Author

Bug was in applying label style. All fixed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
task New task as part of implementing a feature Team 4 Sprint 4: Improve Countdown Clock and Bug Fix
Projects
None yet
Development

No branches or pull requests

1 participant