Added sorter cross (#1566)
@@ -0,0 +1 @@
|
||||
{version:1,fields:[{name:health,type:float,size:4},{name:team,type:mindustry.game.Team,size:-1},{name:updateFlow,type:boolean,size:1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}
|
||||
@@ -0,0 +1 @@
|
||||
{version:2,fields:[{name:health,type:float,size:4},{name:team,type:mindustry.game.Team,size:-1},{name:x,type:float,size:4},{name:y,type:float,size:4}]}
|
||||
|
After Width: | Height: | Size: 170 B |
@@ -221,3 +221,4 @@
|
||||
63523=dart-ship-pad|block-dart-ship-pad-medium
|
||||
63522=alpha-mech-pad|block-alpha-mech-pad-medium
|
||||
63521=cliff|block-cliff-medium
|
||||
63520=legacy-mech-pad|block-legacy-mech-pad-medium
|
||||
|
||||
|
Before Width: | Height: | Size: 732 B After Width: | Height: | Size: 736 B |
|
Before Width: | Height: | Size: 693 KiB After Width: | Height: | Size: 483 KiB |
|
Before Width: | Height: | Size: 128 KiB After Width: | Height: | Size: 91 KiB |
|
Before Width: | Height: | Size: 284 KiB After Width: | Height: | Size: 241 KiB |
|
Before Width: | Height: | Size: 224 KiB After Width: | Height: | Size: 132 KiB |
|
Before Width: | Height: | Size: 867 KiB After Width: | Height: | Size: 704 KiB |
@@ -69,11 +69,15 @@ public class Sorter extends Block{
|
||||
public void draw(){
|
||||
super.draw();
|
||||
|
||||
if(sortItem == null) return;
|
||||
if(sortItem == null){
|
||||
Draw.rect("cross", x, y);
|
||||
}else{
|
||||
Draw.color(sortItem.color);
|
||||
Draw.rect("center", x, y);
|
||||
Draw.color();
|
||||
}
|
||||
|
||||
|
||||
Draw.color(sortItem.color);
|
||||
Draw.rect("center", x, y);
|
||||
Draw.color();
|
||||
}
|
||||
|
||||
@Override
|
||||
|
||||
@@ -1,3 +1,3 @@
|
||||
org.gradle.daemon=true
|
||||
org.gradle.jvmargs=-Xms256m -Xmx1024m
|
||||
archash=dd0f2c60c53919ce97c987e502acf94af3a9a2b4
|
||||
archash=670ff2275995a11566a81a9cdaeb1468e7cf2042
|
||||
|
||||