/*
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.ui.GameClient;

public class ImageGameEvent extends GameEvent {

    private static final long serialVersionUID = 1L;
    
    private final String filename;
    private final String[] text;
    
    public ImageGameEvent(String filename, String... text) {
        this.filename = filename;
        this.text = text;
    }

    public void run() {
        GameClient.sendImage(filename, text);
    }

}