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

Missing pause button after game reset #12

Closed
JBYoshi opened this issue Nov 26, 2015 · 1 comment
Closed

Missing pause button after game reset #12

JBYoshi opened this issue Nov 26, 2015 · 1 comment

Comments

@JBYoshi
Copy link
Owner

JBYoshi commented Nov 26, 2015

Exception in thread "main" java.lang.NullPointerException
        at jbyoshi.blockdodge.gui.InputInGame.playerDied(InputInGame.java:172)
        at jbyoshi.blockdodge.PlayerDodgeShape.onDeath(PlayerDodgeShape.java:40)
        at jbyoshi.blockdodge.BlockDodgeGame.remove(BlockDodgeGame.java:42)
        at jbyoshi.blockdodge.DodgeShape.explode(DodgeShape.java:97)
        at jbyoshi.blockdodge.DodgeShape.onCollided(DodgeShape.java:101)
        at jbyoshi.blockdodge.BlockDodgeGame.go(BlockDodgeGame.java:100)
        at jbyoshi.blockdodge.gui.BlockDodge.main(BlockDodge.java:88)
@JBYoshi
Copy link
Owner Author

JBYoshi commented Nov 26, 2015

Okay, it's not because of using the arrow keys... it's because the pause button is not being re-added after resetting.

@JBYoshi JBYoshi changed the title Crash when dying while using the arrow keys Missing pause button after game reset Nov 26, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant