Update EMPTY_COMPARATOR visibility to public#176
Conversation
|
Fine by me :) Should be available in the SNAPSHOT version soon |
Where will I be able to find the snapshot? I see here: https://central.sonatype.com/repository/maven-snapshots/io/github/quillraven/fleks/Fleks/maven-metadata.xml Oh, there is an issue with browsing snapshots on sonatype's side haha.
I guess I'll check back in a few days and see if snapshot browsing is back up on sonatype's website. Anyways, thanks so much for the PR approval and awesome library! I love fleks and your vids on youtube! |
|
@tylerwilbanks note that with the last release the snapshot url has changed to: |

The Problem
EMPTY_COMPARATORis private, so I must write this:This does a weird thing with jetbrains IDEs with
import com.github.quillraven.fleks.collection.EntityComparatorSaying it is unsused, but if I remove the import,
so I must:
The Why
In my personal game engine, I am creating my own abstraction off of
IteratingSystemlike so:This class makes it easy for me to subscribe to events with automatic cleanup
onDispose(). Example:The Solution
Just make
EMPTY_COMPARATORpublic, so I don't have to shadow what you did!