Test: Disable antialiasing

This commit is contained in:
Anuken
2021-06-03 09:49:41 -04:00
parent e248f44099
commit 7a93c21d10
4 changed files with 12 additions and 4 deletions

View File

@@ -144,6 +144,14 @@ public class MinimapRenderer{
public void update(Tile tile){
if(world.isGenerating() || !state.isGame()) return;
if(tile.build != null && tile.isCenter()){
tile.getLinkedTiles(other -> {
if(!other.isCenter()){
update(other);
}
});
}
int color = colorFor(tile);
pixmap.set(tile.x, pixmap.height - 1 - tile.y, color);

View File

@@ -241,7 +241,6 @@ public class Tile implements Position, QuadTreeObject, Displayable{
//assign entity and type to blocks, so they act as proxies for this one
other.build = entity;
other.block = block;
}
}
}