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

Changed PlayerPosition to tuple[float, float, float] #270

Merged
merged 2 commits into from
Jul 29, 2023

Conversation

JanEricNitschke
Copy link
Collaborator

Changed PlayerPosition to be a tuple of three floats. Adjusted find_closest_area by also adding a PlayerPosition2D that is a tuple of 2 floats and adding the relevant overloads. Also fixed all pyright errors that stemmed from this.

@JanEricNitschke JanEricNitschke linked an issue Jul 28, 2023 that may be closed by this pull request
Copy link
Owner

@pnxenopoulos pnxenopoulos left a comment

Choose a reason for hiding this comment

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

These all look good to me, thanks!

@pnxenopoulos pnxenopoulos merged commit c2d295a into pnxenopoulos:main Jul 29, 2023
11 checks passed
@JanEricNitschke JanEricNitschke deleted the playerposition branch July 30, 2023 07:23
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.

Moving PlayerPosition typealias to tuple[float, float, float]
2 participants