Create some test icons

This commit is contained in:
2022-08-23 14:54:30 +02:00
parent 329e8a18c5
commit a6c0eebba2
5 changed files with 10 additions and 1 deletions

Binary file not shown.

Binary file not shown.

After

Width:  |  Height:  |  Size: 197 KiB

View File

@@ -26,4 +26,5 @@ $1311327d-4b74-4252-94da-23ee4129e357(1311327d-4b74-4252-94da-23ee4129e357.ogg
$e452e215-f581-40fe-a5cf-f555d3db83b8(e452e215-f581-40fe-a5cf-f555d3db83b8.ogg
Deku deathRW
$cd8a40f2-1e2e-4e1d-a13f-b4fe210a04df(cd8a40f2-1e2e-4e1d-a13f-b4fe210a04df.oggArrowR]
$7c33cfee-e6a8-42b8-8b1d-c801b242dcf0(7c33cfee-e6a8-42b8-8b1d-c801b242dcf0.ogg Arrow punch
$7c33cfee-e6a8-42b8-8b1d-c801b242dcf0(7c33cfee-e6a8-42b8-8b1d-c801b242dcf0.ogg Arrow punchZ]
$ddc1e14f-0d1f-4291-a29d-0dc5d8e9242b(ddc1e14f-0d1f-4291-a29d-0dc5d8e9242b.pngGeneric #(

View File

@@ -117,4 +117,12 @@ public abstract class BaseMapHandler implements MapHandler {
this.spawners.add(spawner);
return spawner;
}
public void icon(int x, int y, String iconSetUid, int row, int column) {
var icon = context.createIcon(iconSetUid, row, column);
icon.setScale(1f);
icon.setZIndex(-1);
icon.setCoordinates(x, y);
mainLayer.addEntity(icon);
}
}