package com.asteria.game.plugin.context; import com.asteria.game.character.npc.Npc; import com.asteria.game.plugin.PluginContext; /** * The plugin context for the npc second click message. * * @author lare96 <http://github.com/lare96> */ public final class NpcSecondClickPlugin implements PluginContext { /** * The npc that was clicked by the player. */ private final Npc npc; /** * Creates a new {@link NpcSecondClickPlugin}. * * @param npc * the npc that was clicked by the player. */ public NpcSecondClickPlugin(Npc npc) { this.npc = npc; } /** * Gets the npc that was clicked by the player. * * @return the npc that was clicked. */ public Npc getNpc() { return npc; } }