it begins

This commit is contained in:
Anuken
2020-03-05 20:27:42 -05:00
parent 5a0d079a78
commit 2e19504b65
92 changed files with 891 additions and 948 deletions

View File

@@ -10,7 +10,7 @@ import arc.struct.IntSet.*;
import arc.util.*;
import mindustry.game.EventType.*;
import mindustry.world.*;
import mindustry.world.blocks.*;
import mindustry.world.blocks.environment.*;
import java.util.*;

View File

@@ -14,7 +14,7 @@ import mindustry.content.*;
import mindustry.type.*;
import mindustry.ui.*;
import mindustry.world.*;
import mindustry.world.blocks.*;
import mindustry.world.blocks.environment.*;
import static mindustry.Vars.*;

View File

@@ -134,7 +134,7 @@ public class MinimapRenderer implements Disposable{
texture.draw(pixmap, 0, 0);
}
public void update(Tile tile){
public void updateTile(){
int color = colorFor(world.tile(tile.x, tile.y));
pixmap.draw(tile.x, pixmap.getHeight() - 1 - tile.y, color);