Class TileHighlightEvent
java.lang.Object
java.util.EventObject
org.rspeer.event.Event<Position>
- All Implemented Interfaces:
Serializable
An event that is dispatched when a tile is highlighted or unhighlighted.
Use
isMarked() to get the state- See Also:
-
Constructor Summary
ConstructorsConstructorDescriptionTileHighlightEvent(Position source, boolean marked) Constructs a prototypical Event. -
Method Summary
Methods inherited from class org.rspeer.event.Event
consume, getSource, isConsumedMethods inherited from class EventObject
toString
-
Constructor Details
-
TileHighlightEvent
Constructs a prototypical Event.- Parameters:
source- The object on which the Event initially occurred.- Throws:
IllegalArgumentException- if source is null.
-
-
Method Details
-
isMarked
public boolean isMarked()
-