Examples of RSAnimable


Examples of org.rsbot.client.RSAnimable

   * @return The RSArea containing all the tiles on which this object can be
   *         found.
   */
  public RSArea getArea() {
    if (obj instanceof RSAnimable) {
      final RSAnimable a = (RSAnimable) obj;
      final RSTile sw = new RSTile(methods.client.getBaseX() + a.getX1(), methods.client.getBaseY() + a.getY1());
      final RSTile ne = new RSTile(methods.client.getBaseX() + a.getX2(), methods.client.getBaseY() + a.getY2());
      return new RSArea(sw, ne, plane);
    }
    final RSTile loc = getLocation();
    return new RSArea(loc, loc, plane);
  }
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.