hanze/game-client

src/main/java/nl/isygameclient/network/Event.java in main
Repositories | Summary | Log | Files

Event.java (290B) download


 1package nl.isygameclient.network;
 2
 3public class Event {
 4	public final EventType type;
 5	public final Object	   data;
 6
 7	public Event(EventType type, Object data) {
 8		this.type = type;
 9		this.data = data;
10	}
11
12	public String toString() {
13		return String.format("Event.%s(%s)", type, data);
14	}
15}