All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.ggp.base.apps.kiosk.MoveSelectedEvent Maven / Gradle / Ivy

The newest version!
package org.ggp.base.apps.kiosk;

import org.ggp.base.util.observer.Event;
import org.ggp.base.util.statemachine.Move;

public class MoveSelectedEvent extends Event {
    private Move theMove;
    private boolean isFinal = false;

    public MoveSelectedEvent(Move m) {
        theMove = m;
    }

    public MoveSelectedEvent(Move m, boolean isFinal) {
        theMove = m;
        this.isFinal = isFinal;
    }

    public Move getMove() {
        return theMove;
    }

    public boolean isFinal() {
        return isFinal;
    }

    @Override
    public String toString() {
        return "Move selected event: " + theMove;
    }
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy