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 parser accessor methods #123

Merged
merged 2 commits into from
Aug 30, 2023
Merged

Add parser accessor methods #123

merged 2 commits into from
Aug 30, 2023

Conversation

TheSignPainter98
Copy link
Owner

@TheSignPainter98 TheSignPainter98 commented Aug 28, 2023

Problem description

The Point API is inconsistent with Location.
Despite being used in similar circumstances, the former exposes its fields directly whereas the latter uses accessor methods.

How this PR fixes the problem

This PR adds accessor methods to Point and makes its fields private.

Check lists

  • All tests pass
  • No linting errors
  • Correctly formatted

@TheSignPainter98 TheSignPainter98 merged commit a9b05b2 into master Aug 30, 2023
6 checks passed
@TheSignPainter98 TheSignPainter98 deleted the parser/point-methods branch August 30, 2023 21:21
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.

1 participant