Spawn wave instruction

This commit is contained in:
Anuken
2022-04-25 18:52:33 -04:00
parent 1ac7317986
commit aab6c3a9df
9 changed files with 82 additions and 16 deletions

View File

@@ -162,7 +162,7 @@ public class Floor extends Block{
}
PixmapRegion image = Core.atlas.getPixmap(icons()[0]);
PixmapRegion edge = Core.atlas.getPixmap("edge-stencil");
PixmapRegion edge = Core.atlas.getPixmap(Core.atlas.find(name + "-edge-stencil", "edge-stencil"));
Pixmap result = new Pixmap(edge.width, edge.height);
for(int x = 0; x < edge.width; x++){