Sector preset class / New missions

This commit is contained in:
Anuken
2018-10-05 16:36:50 -04:00
parent a771dc8787
commit 35bc2c9803
27 changed files with 174 additions and 76 deletions

View File

@@ -2,7 +2,7 @@ package io.anuke.mindustry;
import com.badlogic.gdx.graphics.Color;
import com.badlogic.gdx.graphics.g2d.TextureRegion;
import io.anuke.ucore.util.Mathf;
import io.anuke.ucore.util.Structs;
import javax.imageio.ImageIO;
import java.awt.*;
@@ -44,7 +44,7 @@ public class Image {
}
public boolean isEmpty(int x, int y){
if(!Mathf.inBounds(x, y, width(), height())){
if(!Structs.inBounds(x, y, width(), height())){
return true;
}
Color color = getColor(x, y);