Class TileHighlightEvent

All Implemented Interfaces:
Serializable

public class TileHighlightEvent extends GameEvent<Position>
An event that is dispatched when a tile is highlighted or unhighlighted. Use isMarked() to get the state
See Also:
  • Constructor Details

    • TileHighlightEvent

      public TileHighlightEvent(Position source, boolean marked)
      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()