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

xPosition in sprite and rest of classes that extend Sprite Refactoring #68

Open
UCSBWillHuang1997 opened this issue Nov 18, 2016 · 2 comments

Comments

@UCSBWillHuang1997
Copy link
Contributor

xPosition variable in Sprite.java was declared as protected so you cannot pass the variable to a class that extends Sprite.java (Runner.java, Snail.java, etc) and so you had to update the local xPosition in the class and the xPosition in the extended Sprite class.

@jalexanderqed
Copy link
Contributor

To be clear, you should remove one of these versions of xPosition so that the information is not duplicated.

@jalexanderqed
Copy link
Contributor

F16 OK (70 pts)

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

2 participants