package com.tommytony.war.event;

import java.util.List;

import org.bukkit.event.Event;
import org.bukkit.event.HandlerList;

import com.tommytony.war.Team;
import com.tommytony.war.Warzone;

public class WarBattleWinEvent extends Event {
	private static final HandlerList handlers = new HandlerList();
	private List<Team> winningTeams;
	private Warzone zone;

	public WarBattleWinEvent(Warzone zone, List<Team> winningTeams) {
		this.zone = zone;
		this.winningTeams = winningTeams;
	}

	public Warzone getZone() {
		return zone;
	}

	@Override
	public HandlerList getHandlers() {
		return handlers;
	}

	public static HandlerList getHandlerList() {
		return handlers;
	}

	public List<Team> getWinningTeams() {
		return winningTeams;
	}
}

Add event when battle ends Actually no, I just forgot to stage this.