public abstract class MapComponent extends java.lang.Object implements SimulationObject
Map.| Modifier and Type | Field and Description |
|---|---|
private boolean |
destroyed
States if the map component is destroyed.
|
protected Map |
map
Set map.
|
| Constructor and Description |
|---|
MapComponent() |
| Modifier and Type | Method and Description |
|---|---|
(package private) void |
destroy()
Destroys the component.
|
boolean |
isDestroyed()
Determines if the component is destroyed.
|
(package private) void |
setMap(Map map)
Sets the map of the
MapComponent. |
private boolean destroyed
protected Map map
void destroy()
public boolean isDestroyed()
void setMap(Map map)
MapComponent.map - The map.