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

refactor!: Remove the Projector interface that is no longer used for coordinate transformations #2955

Merged
merged 1 commit into from
Jan 1, 2024

Conversation

luanpotter
Copy link
Member

Description

Remove the Projector interface that is no longer used for coordinate transformations.

While this is exposed to end-users there is not much point in doing so as it was always an internal detail of our implementation.
Since our last batch of removals of the old event system, this was left orphaned.

I don't think deprecation is necessary as it is very unlikely that anyone is using this interface (and if they are, they can easily declare their own as we do not care about it anywhere).

Checklist

  • I have followed the Contributor Guide when preparing my PR.
  • I have updated/added tests for ALL new/updated/fixed functionality.
  • I have updated/added relevant documentation in docs and added dartdoc comments with ///.
  • I have updated/added relevant examples in examples or docs.

Breaking Change?

  • Yes, this PR is a breaking change.
  • No, this PR is not a breaking change.

Migration instructions

This interface is no longer necessary to interop with Flame in any way shape or form.
If you wish to use it internally in your game you can just declare it yourself.

@luanpotter luanpotter force-pushed the luan.projector-is-dead branch from f55a9b5 to 7a9a593 Compare January 1, 2024 21:06
@@ -34,5 +34,3 @@ tappable
tappables
toolset
underutilize
unproject
unscale
Copy link
Member Author

Choose a reason for hiding this comment

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

my advanced spell check linter with unused validation is working 😌

Copy link
Member

@spydon spydon left a comment

Choose a reason for hiding this comment

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

Lgtm, I also think it makes sense to remove without deprecation

@luanpotter luanpotter marked this pull request as ready for review January 1, 2024 21:21
@luanpotter luanpotter merged commit 0979dc9 into main Jan 1, 2024
8 checks passed
@luanpotter luanpotter deleted the luan.projector-is-dead branch January 1, 2024 21:32
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