Class ViewPortTileClickPressEvent

  • All Implemented Interfaces:
    HasPosition2

    public final class ViewPortTileClickPressEvent
    extends ViewPortCursorBaseEvent
    This event is fired when a mouse button is pressed on a tile
    • Constructor Detail

      • ViewPortTileClickPressEvent

        public ViewPortTileClickPressEvent​(CoordI2 absolutePos,
                                           CoordI2 worldPos,
                                           CoordI2 worldPosSubOffset,
                                           List<CompositeAndEntityId> entitiesUnderCursor,
                                           int button,
                                           long clickSession,
                                           int modifiers)
    • Method Detail

      • getButton

        public int getButton()