| FaceGameEvent.java |
/*
Copyright (C) 2005 David Green <green@couchpotato.net>
All Rights Reserved.
This file is part of Aelfengard.
Aelfengard is proprietary software. You may not redistribute it without
prior written permission from the copyright holder.
*/
package common.gameevent;
import common.Face;
import common.ui.GameClient;
public class FaceGameEvent extends GameEvent {
private static final long serialVersionUID = 3689630289735332660L;
private final Face face;
private final String[] text;
public FaceGameEvent(Face face, String... text) {
this.face = face;
this.text = text;
}
public void run() {
GameClient.sendFace(face, text);
}
}