| GroupHealthGameEvent.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.ui.GameClient;
public class GroupHealthGameEvent extends GameEvent {
private static final long serialVersionUID = 3906650812561371697L;
private final int player;
private final int hp;
public GroupHealthGameEvent(int player, int hp) {
this.player = player;
this.hp = hp;
}
public void run() {
GameClient.getGroupList().health(player, hp);
}
}