Build weapon

This commit is contained in:
Anuken
2021-12-28 23:54:43 -05:00
parent 37ba8ac66b
commit 3efbf58ab5
6 changed files with 109 additions and 13 deletions

View File

@@ -401,6 +401,16 @@ public class BlockRenderer{
}
}
}
//TODO remove
Draw.z(Layer.overlayUI);
Lines.stroke(1f, Color.green);
blockTree.intersect(camera.bounds(Tmp.r1), tile -> {
Lines.rect(tile.getHitbox(Tmp.r2));
});
Draw.reset();
}
static class BlockQuadtree extends QuadTree<Tile>{