20 package net.sf.gridarta.gui.panel.objectchooser;
22 import java.awt.Component;
23 import java.util.List;
28 import org.jetbrains.annotations.NotNull;
29 import org.jetbrains.annotations.Nullable;
Base package of all Gridarta classes.
Reflects a game object (object on a map).
GameObjects are the objects based on Archetypes found on maps.
BaseObject< G, A, R, ?> getSelection()
Returns the selected game object.
Component getComponent()
Returns the component to show in the object chooser.
String getTitle()
Returns the title to display in the object chooser.
void setActive(boolean active)
Called whenever this tab becomes active or inactive.
boolean isMatching(@NotNull G gameObject)
Returns whether the current selection matches the given game object.
List<? extends BaseObject< G, A, R, ?> > getSelections()
Returns the selected game objects.
Interface for MapArchObjects.
Interface for classes being part of the object chooser.