![JAR search and dependency download from the Maven repository](/logo.png)
org.ggp.base.player.gamer.event.GamerNewMatchEvent 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 org.ggp.base.util.gdl.grammar.GdlConstant;
import org.ggp.base.util.match.Match;
import org.ggp.base.util.observer.Event;
public final class GamerNewMatchEvent extends Event
{
private final Match match;
private final GdlConstant roleName;
public GamerNewMatchEvent(Match match, GdlConstant roleName)
{
this.match = match;
this.roleName = roleName;
}
public Match getMatch()
{
return match;
}
public GdlConstant getRoleName()
{
return roleName;
}
@Override
public String toString() {
return "New match event: match is " + match + "; role is " + roleName;
}
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy