Test: Disable antialiasing
This commit is contained in:
@@ -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);
|
||||
|
||||
|
||||
@@ -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;
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user