Package l2p.extensions.listeners.events.AbstractAI

Examples of l2p.extensions.listeners.events.AbstractAI.AbstractAINotifyEvent


    L2Character actor = getActor();
    if(actor == null || !actor.isVisible())
    {
      return;
    }
    getListenerEngine().fireMethodInvoked(new AbstractAINotifyEvent(MethodCollection.AbstractAInotifyEvent, this, new Object[] {
      evt, args}));
    switch(evt)
    {
      case EVT_THINK:
        onEvtThink();
View Full Code Here


public abstract class AbstractAINotifyEventListener implements MethodInvokeListener, MethodCollection
{
  @Override
  public final void methodInvoked(MethodEvent e)
  {
    AbstractAINotifyEvent event = (AbstractAINotifyEvent) e;
    AbstractAI ai = event.getOwner();
    CtrlEvent evt = (CtrlEvent) event.getArgs()[0];
    NotifyEvent(ai, evt, (Object[]) event.getArgs()[1]);
  }
View Full Code Here

TOP

Related Classes of l2p.extensions.listeners.events.AbstractAI.AbstractAINotifyEvent

Copyright © 2018 www.massapicom. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.