| CommandLineColorGameEvent.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 java.awt.Color;
import common.ui.GameClient;
public class CommandLineColorGameEvent extends GameEvent {
private static final long serialVersionUID = 3257284716985267511L;
private final Color foreground;
private final Color background;
public CommandLineColorGameEvent(Color foreground, Color background) {
this.foreground = foreground;
this.background = background;
}
public void run() {
GameClient.setCommandLineColor(foreground, background);
}
}