mirror of
https://github.com/2006-Scape/Parabot-317-API-Minified.git
synced 2026-07-03 00:38:00 +00:00
@@ -14,13 +14,13 @@ public class DCollisionFlags extends AbstractDebugger {
|
||||
|
||||
@Override
|
||||
public void paint(Graphics g) {
|
||||
PaintDebugger p = Context.getInstance().getPaintDebugger();
|
||||
Tile location = Players.getMyPlayer().getLocation();
|
||||
Tile north = new Tile(location.getX(), location.getY() + 1);
|
||||
Tile south = new Tile(location.getX(), location.getY() - 1);
|
||||
Tile west = new Tile(location.getX() - 1, location.getY());
|
||||
Tile east = new Tile(location.getX() + 1, location.getY());
|
||||
int flag = Game.getCollisionFlags()[location.getRegionX()][location.getRegionY()];
|
||||
PaintDebugger p = Context.getInstance().getPaintDebugger();
|
||||
Tile location = Players.getMyPlayer().getLocation();
|
||||
Tile north = new Tile(location.getX(), location.getY() + 1);
|
||||
Tile south = new Tile(location.getX(), location.getY() - 1);
|
||||
Tile west = new Tile(location.getX() - 1, location.getY());
|
||||
Tile east = new Tile(location.getX() + 1, location.getY());
|
||||
int flag = Game.getCollisionFlags()[location.getRegionX()][location.getRegionY()];
|
||||
p.addLine("Collision flag: 0x" + String.format("%X", flag));
|
||||
p.addLine("Reachable: [ cur: " + location.isReachable() + ", north: " + north.isReachable() + ", south: " + south.isReachable() + ", east: " + east.isReachable() + ", west: " + west.isReachable() + " ]");
|
||||
p.addLine("Walkable: [ cur: " + location.isWalkable() + ", north: " + north.isWalkable() + ", south: " + south.isWalkable() + ", east: " + east.isWalkable() + ", west: " + west.isWalkable() + " ]");
|
||||
|
||||
Reference in New Issue
Block a user