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

org.ggp.base.player.gamer.event.GamerSelectedMoveEvent Maven / Gradle / Ivy

There is a newer version: 0.0.15
Show newest version
package org.ggp.base.player.gamer.event;

import java.util.List;

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

public final class GamerSelectedMoveEvent extends Event
{
    private final List moves;
    private final Move selection;
    private final long time;

    public GamerSelectedMoveEvent(List moves, Move selection, long time) {
        this.moves = moves;
        this.selection = selection;
        this.time = time;
    }

    public List getMoves() {
        return moves;
    }

    public Move getSelection() {
        return selection;
    }

    public long getTime() {
        return time;
    }

    @Override
    public String toString() {
        return "Gamer selected move event: moves: " + moves + "; selection: " + selection + "; time: " + time;
    }
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy