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

Add Rocky the rock #74

Merged
merged 1 commit into from
Dec 8, 2021
Merged

Conversation

marcduiker
Copy link
Contributor

Rocky doesn't move and doesn't run & catch a ball. The due to lack of movement I had to make some changes how nextFrame is handled. This was done purely on movement but now a timeout is added, similar to the AbstractStaticState implementation. If you have other ideas on how to do this better please do let me know. I also prevent the image from changing direction since it doesn't move. I've testing this locally and it seems to work as intended. No side effects to the existing pets. Please do have a good look yourself since the change was bigger than I expected.

Fixes #42

[2, 'The Rock'],
[3, 'Quartzy'],
[4, 'Rocky I'],
[5, 'Rocky II'],
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This was going to be my only comment on the code-review. Great minds...

@tonybaloney tonybaloney merged commit 41dbe6f into tonybaloney:master Dec 8, 2021
@tonybaloney
Copy link
Owner

Love this

tonybaloney added a commit that referenced this pull request Feb 26, 2023
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

Successfully merging this pull request may close these issues.

a pet rock
2 participants