Package tiled.mapeditor.util

Examples of tiled.mapeditor.util.TileSelectionEvent


    public void removeTileSelectionListener(TileSelectionListener listener) {
        tileSelectionListeners.remove(listener);
    }

    private void fireTileSelectionEvent(Tile selectedTile) {
        TileSelectionEvent event = new TileSelectionEvent(this, selectedTile);
        Iterator iterator = tileSelectionListeners.iterator();

        while (iterator.hasNext()) {
            ((TileSelectionListener) iterator.next()).tileSelected(event);
        }
View Full Code Here


    public void removeTileSelectionListener(TileSelectionListener listener) {
        tileSelectionListeners.remove(listener);
    }

    private void fireTileSelectionEvent(Tile selectedTile) {
        TileSelectionEvent event = new TileSelectionEvent(this, selectedTile);
        for (TileSelectionListener listener : tileSelectionListeners) {
            listener.tileSelected(event);
        }
    }
View Full Code Here

TOP

Related Classes of tiled.mapeditor.util.TileSelectionEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.