public interface SelectedSquareModelListener<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.util.EventListener
SelectedSquareModel
instances.Modifier and Type | Method and Description |
---|---|
void |
selectionChanged(MapSquare<G,A,R> mapSquare,
G gameObject)
The selected game object has changed.
|
void selectionChanged(@Nullable MapSquare<G,A,R> mapSquare, @Nullable G gameObject)
mapSquare
- the new map square or null
if no game object is
selectedgameObject
- the new game object or null
if no game object
is selected