public interface ObjectChooserListener<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
ObjectChooser
events.Modifier and Type | Method and Description |
---|---|
void |
pickmapActiveChanged(boolean pickmapActive)
Called whenever the active state of the pickmap chooser changed.
|
void |
selectionChanged(@Nullable BaseObject<G,A,R,?> gameObject)
The selected (
ObjectChooser.getSelection() or ObjectChooser.getSelections() may have changed. |
void pickmapActiveChanged(boolean pickmapActive)
pickmapActive
- whether the pickmap chooser is activevoid selectionChanged(@Nullable @Nullable BaseObject<G,A,R,?> gameObject)
ObjectChooser.getSelection()
or ObjectChooser.getSelections()
may have changed.gameObject
- the selected game object or null