package noppes.npcs.api.event;

import net.minecraft.entity.player.PlayerEntity;
import net.minecraftforge.eventbus.api.Cancelable;
import noppes.npcs.api.NpcAPI;
import noppes.npcs.api.entity.IPlayer;
import noppes.npcs.api.handler.data.IQuest;
import noppes.npcs.api.item.IItemStack;

public class QuestEvent extends CustomNPCsEvent {
	public final IQuest quest;
	public final IPlayer player;
	public QuestEvent(IPlayer player, IQuest quest) {
		this.quest = quest;
		this.player = player;
	}

	@Cancelable
	public static class QuestStartEvent extends QuestEvent{

		public QuestStartEvent(IPlayer player, IQuest quest) {
			super(player, quest);
		}
		
	}

	public static class QuestCompletedEvent extends QuestEvent{
		
		public QuestCompletedEvent(IPlayer player, IQuest quest) {
			super(player, quest);
		}
		
	}

	public static class QuestTurnedInEvent extends QuestEvent{
		public int expReward;		
		public IItemStack[] itemRewards = new IItemStack[0];

		public QuestTurnedInEvent(IPlayer player, IQuest quest) {
			super(player, quest);
		}
		
	}
}
