protected internal virtual void drawBoxes(Com.Brashmonkey.Spriter.player.SpriterAbstractPlayer player) { this.setDrawColor(.25f, 1f, .25f, 1f); this.drawRectangle(player.getBoundingBox().left, player.getBoundingBox().bottom, player.getBoundingBox().width, player.getBoundingBox().height); for (int j = 0; j < player.getObjectsToDraw(); j++) { Com.Brashmonkey.Spriter.SpriterPoint[] points = player.getRuntimeObjects()[j].getBoundingBox (); this.drawLine(points[0].x, points[0].y, points[1].x, points[1].y); this.drawLine(points[1].x, points[1].y, points[3].x, points[3].y); this.drawLine(points[3].x, points[3].y, points[2].x, points[2].y); this.drawLine(points[2].x, points[2].y, points[0].x, points[0].y); } }