Skip to content

Instantly share code, notes, and snippets.

View Bradsta's full-sized avatar

Brad Guerrero Bradsta

View GitHub Profile
@Bradsta
Bradsta / gist:3504851
Created August 28, 2012 22:20
A modified version of the interact method. Changes mouse destination as its moving.
import java.awt.Point;
import java.awt.Polygon;
import java.awt.Rectangle;
import java.awt.geom.Rectangle2D;
import org.powerbot.game.api.methods.Calculations;
import org.powerbot.game.api.methods.node.Menu;
import org.powerbot.game.api.util.Filter;
import org.powerbot.game.api.wrappers.Entity;
import org.powerbot.game.api.wrappers.ViewportEntity;