Merge branch 'master' of https://github.com/Anuken/Mindustry into 4.0

This commit is contained in:
Anuken
2018-03-08 22:34:26 -05:00
31 changed files with 508 additions and 360 deletions

View File

@@ -4,7 +4,6 @@ import io.anuke.mindustry.entities.enemies.Enemy;
import io.anuke.mindustry.world.Tile;
import io.anuke.ucore.entities.BulletEntity;
import io.anuke.ucore.entities.Entity;
import io.anuke.ucore.entities.SolidEntity;
import io.anuke.ucore.util.Timer;
import static io.anuke.mindustry.Vars.*;
@@ -65,11 +64,6 @@ public class Bullet extends BulletEntity{
}
}
@Override
public boolean collides(SolidEntity other){
return (other instanceof Player) == (owner instanceof Enemy);
}
@Override
public int getDamage(){
return damage == -1 ? type.damage : damage;