20 package net.sf.gridarta.model.filter;
23 import org.jetbrains.annotations.NotNull;
boolean reset()
Tells the filter we have finished with current map square and, perhaps, we are jumping on next one...
void setEnabled(boolean enabled)
Enables or disables the filter.
boolean match(@NotNull GameObject<?, ?, ?> gameObject)
Tells whether we got a match on specific GameObject.
Base package of all Gridarta classes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
void accept(@NotNull FilterConfigVisitor visitor)
Visits the appropriate.
F getFilter()
Returns the Filter this filter config belongs to.
Interface for visitors of filter configs.
boolean isEnabled()
Returns whether the filter is enabled.
void addConfigChangeListener(FilterConfigListener listener)
Adds a FilterConfigListener to be notified about changes.
Interface for filter configurations.
void removeConfigChangeListener(FilterConfigListener listener)
Removes a FilterConfigListener to be notified about changes.
Interface for listeners interested in FilterConfig related changes.