Package org.rsbot.script.methods

Examples of org.rsbot.script.methods.MethodContext


    final CharacterMovedEvent e = new CharacterMovedEvent(bot.getMethodContext(), c, i);
    bot.getEventManager().dispatchEvent(e);
  }

  public void updateRenderInfo(final Render r, final RenderData rd) {
    final MethodContext ctx = bot.getMethodContext();
    if (ctx != null) {
      ctx.calc.updateRenderInfo(r, rd);
    }
  }
View Full Code Here


  }

  private void setClient(final Client cl) {
    client = cl;
    client.setCallback(new CallbackImpl(this));
    methods = new MethodContext(this);
    sh.init();
    new Thread(new SafeMode(this)).start();//Put client into safemode.
  }
View Full Code Here

TOP

Related Classes of org.rsbot.script.methods.MethodContext

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.