Class MapContainer
java.lang.Object
com.comphenix.protocol.injector.packet.MapContainer
Represents a class that can detect if a map has changed.
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionprotected voidCheck for modifications to the current map.booleanDetermine if the map has changed.voidsetChanged(boolean changed) Mark the map as changed or unchanged.
-
Constructor Details
-
MapContainer
-
-
Method Details
-
hasChanged
public boolean hasChanged()Determine if the map has changed.- Returns:
- TRUE if it has, FALSE otherwise.
-
setChanged
public void setChanged(boolean changed) Mark the map as changed or unchanged.- Parameters:
changed- - TRUE if the map has changed, FALSE otherwise.
-
checkChanged
protected void checkChanged()Check for modifications to the current map.
-