org.ggp.base.player.event.PlayerReceivedMessageEvent 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.
package org.ggp.base.player.event;
import org.ggp.base.util.observer.Event;
public final class PlayerReceivedMessageEvent extends Event
{
private final String message;
public PlayerReceivedMessageEvent(String message)
{
this.message = message;
}
public String getMessage()
{
return message;
}
@Override
public String toString() {
return "Player received message event: " + message;
}
}