Package com.jcloisterzone.event

Source Code of com.jcloisterzone.event.TunnelPiecePlacedEvent

package com.jcloisterzone.event;

import com.jcloisterzone.Player;
import com.jcloisterzone.board.Location;
import com.jcloisterzone.board.Position;
import com.jcloisterzone.board.pointer.FeaturePointer;

public class TunnelPiecePlacedEvent extends FeatureEvent {

    private boolean secondPiece;

    public TunnelPiecePlacedEvent(Player player, Position position, Location location, boolean secondPiece) {
        super(player, new FeaturePointer(position, location));
        this.secondPiece = secondPiece;
    }

    public boolean isSecondPiece() {
        return secondPiece;
    }

}
TOP

Related Classes of com.jcloisterzone.event.TunnelPiecePlacedEvent

TOP
Copyright © 2018 www.massapi.com. 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.