public class ErroneousMapSquares<G extends GameObject<G,A,R>,A extends MapArchObject<A>,R extends Archetype<G,A,R>>
extends java.lang.Object
MapModel
for changed erroneous map squares and updates a
MapGrid
and an AbstractMapRenderer
accordingly.Constructor and Description |
---|
ErroneousMapSquares(MapModel<G,A,R> mapModel,
MapGrid mapGrid,
AbstractMapRenderer<G,A,R> renderer)
Creates a new instance.
|
Modifier and Type | Method and Description |
---|---|
void |
closeNotify()
Must be called when this instance is not used anymore.
|
void |
errorsChanged(ErrorCollector<G,A,R> errors)
Updates the erroneous map squares.
|
public void closeNotify()
public void errorsChanged(@NotNull ErrorCollector<G,A,R> errors)
errors
- the errors to display