Skip to content

Commit

Permalink
refactor!: Remove the Projector interface that is no longer used for …
Browse files Browse the repository at this point in the history
…coordinate transformations (#2955)

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).



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.
  • Loading branch information
luanpotter committed Jan 1, 2024
1 parent 1dc3311 commit 0979dc9
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 187 deletions.
2 changes: 0 additions & 2 deletions .github/.cspell/words_dictionary.txt
Original file line number Diff line number Diff line change
Expand Up @@ -34,5 +34,3 @@ tappable
tappables
toolset
underutilize
unproject
unscale
1 change: 0 additions & 1 deletion packages/flame/lib/game.dart
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,5 @@ export 'src/game/game.dart';
export 'src/game/game_widget/game_widget.dart';
export 'src/game/mixins/single_game_instance.dart';
export 'src/game/notifying_vector2.dart';
export 'src/game/projector.dart';
export 'src/game/transform2d.dart';
export 'src/text/renderers/text_paint.dart';
104 changes: 0 additions & 104 deletions packages/flame/lib/src/game/projector.dart

This file was deleted.

80 changes: 0 additions & 80 deletions packages/flame/test/game/projector_test.dart

This file was deleted.

0 comments on commit 0979dc9

Please sign in to comment.