- Joined
- Nov 15, 2013
- Messages
- 339
- Thread Author
- #1
I saw some one asking how does one use web walking with RuneMate, well, its simple!
This piece of code returns a WebPath which is simple to traverse, all you need to do is invoke the method called 'step'.
Code:
Traversal.getDefaultWeb().getPathBuilder().buildTo(new Coordinate(tile_x, tile_y))
Code:
final WebPath path = Traversal.getDefaultWeb().getPathBuilder().buildTo(new Coordinate(tile_x, tile_y));
path.step(true);