org.ggp.base.player.gamer.event.GamerSelectedMoveEvent Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of alloy-ggp-base Show documentation
Show all versions of alloy-ggp-base Show documentation
A modified version of the GGP-Base library for Alloy.
The 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;
}
}