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

The chasing pet moves at the speed of its friend only if friend is slower #618

Open
wants to merge 5 commits into
base: main
Choose a base branch
from

Conversation

sharktrexer
Copy link
Contributor

Fix for #585
Alternative to #599

From suggestion 2: The chasing pet moves at the speed of it's friend - https://github.com/sharktrexer/vscode-pets/blob/main/src/panel/states.ts#L357-L367

Pets now use the slower friend's speed. I assumed it made more sense for only faster pets to move slower rather than slower pets moving faster. I can make a change for slower pets to keep with with faster pets if desired.

@sharktrexer sharktrexer changed the title The chasing pet moves at the speed of it's friend only if friend is slower The chasing pet moves at the speed of its friend only if friend is slower Sep 26, 2024
@sharktrexer
Copy link
Contributor Author

I had forgotten to run "npm run lint:fix" before. Now it should pass the lint test.

@codecov-commenter
Copy link

Codecov Report

Attention: Patch coverage is 0% with 3 lines in your changes missing coverage. Please review.

Project coverage is 17.04%. Comparing base (67b36bd) to head (dffd72a).
Report is 2 commits behind head on main.

Files with missing lines Patch % Lines
src/panel/states.ts 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #618      +/-   ##
==========================================
- Coverage   17.06%   17.04%   -0.02%     
==========================================
  Files          25       25              
  Lines        1260     1261       +1     
  Branches      167      168       +1     
==========================================
  Hits          215      215              
- Misses       1039     1040       +1     
  Partials        6        6              

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@sharktrexer
Copy link
Contributor Author

Hey @tonybaloney

It is been a couple weeks, so I am wondering if I could get an update on this being merged? If there are any other issues for this repo, related to this PR or not, I would love to contribute/help anyway I can.

Thank you for your time!

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.

2 participants