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

Disable fireball button when the phone doesn't know it's location or when it is too close to the player #9

Open
mxdubois opened this issue Dec 4, 2012 · 1 comment
Assignees

Comments

@mxdubois
Copy link
Member

mxdubois commented Dec 4, 2012

This is a little trickier than it seems. Somehow you have to check both these conditions at a regular interval so that the button is visually disabled. For now, call a method to perform that check from onGameStateChange.

@ghost ghost assigned kataylor Dec 4, 2012
@mxdubois
Copy link
Member Author

mxdubois commented Dec 4, 2012

Bonus points if you display a TextView in place of the crosshair that says "Too close to robot. Cortex overload." or something like that when the eyeball gets too close to the robot.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants