Class Invert

    • Field Detail

      • m_Filter

        protected ActorFilter m_Filter
        the base filter.
    • Constructor Detail

      • Invert

        public Invert​(ActorFilter filter)
        Initializes the filter.
        Parameters:
        filter - the base filter to use
    • Method Detail

      • accept

        public boolean accept​(Actor actor)
        Returns whether the actor should be kept.
        Specified by:
        accept in interface ActorFilter
        Parameters:
        actor - the actor to check
        Returns:
        the inverse of the base filter