Examples of drawWireFrame()


Examples of org.rsbot.script.wrappers.RSModel.drawWireFrame()

    if (enabled[0]) {
      for (final org.rsbot.script.wrappers.RSObject o : ctx.objects.getAll()) {
        final RSModel model = o.getModel();
        if (model != null) {
          render.setColor(color_map.get(o.getType()));
          model.drawWireFrame(render);
          render.setColor(Color.GREEN);
          final Point p = model.getPoint();
          render.fillOval(p.x - 1, p.y - 1, 2, 2);
        }
      }
View Full Code Here

Examples of org.rsbot.script.wrappers.RSModel.drawWireFrame()

    if (enabled[1]) {
      for (final org.rsbot.script.wrappers.RSCharacter c : ctx.players.getAll()) {
        final RSModel model = c.getModel();
        if (model != null) {
          render.setColor(Color.RED);
          model.drawWireFrame(render);
        }
      }
    }
    if (enabled[2]) {
      for (final org.rsbot.script.wrappers.RSCharacter c : ctx.npcs.getAll()) {
View Full Code Here

Examples of org.rsbot.script.wrappers.RSModel.drawWireFrame()

    if (enabled[2]) {
      for (final org.rsbot.script.wrappers.RSCharacter c : ctx.npcs.getAll()) {
        final RSModel model = c.getModel();
        if (model != null) {
          render.setColor(Color.MAGENTA);
          model.drawWireFrame(render);
        }
      }
    }
    if (enabled[3]) {
      for (final RSGroundItem item : ctx.groundItems.getAll()) {
View Full Code Here

Examples of org.rsbot.script.wrappers.RSModel.drawWireFrame()

    if (enabled[3]) {
      for (final RSGroundItem item : ctx.groundItems.getAll()) {
        final RSModel model = item.getModel();
        if (model != null) {
          render.setColor(Color.CYAN);
          model.drawWireFrame(render);
        }
      }
    }
  }
View Full Code Here

Examples of org.rsbot.script.wrappers.RSModel.drawWireFrame()

        final RSGroundItem[] items = ctx.groundItems.getAllAt(x, y);
        if (items.length > 0) {
          final RSModel model = items[0].getModel();
          if (model != null) {
            render.setColor(Color.BLUE);
            model.drawWireFrame(render);
          }
        }
        for (int i = 0; i < items.length; i++) {
          final Point screen = ctx.calc.tileToScreen(new RSTile(x, y), items[i].getHeight());
          if (!ctx.calc.pointOnScreen(screen)) {
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. 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.