Removed unused rally field

This commit is contained in:
Anuken
2022-03-03 11:41:39 -05:00
parent 742466c3ee
commit 3d31de7d69
3 changed files with 2 additions and 19 deletions
+2 -13
View File
@@ -26,12 +26,10 @@ public class Pathfinder implements Runnable{
static final int impassable = -1;
public static final int
fieldCore = 0,
fieldRally = 1;
fieldCore = 0;
public static final Seq<Prov<Flowfield>> fieldTypes = Seq.with(
EnemyCoreField::new,
RallyField::new
EnemyCoreField::new
);
public static final int
@@ -465,15 +463,6 @@ public class Pathfinder implements Runnable{
}
}
public static class RallyField extends Flowfield{
@Override
protected void getPositions(IntSeq out){
for(Building other : indexer.getFlagged(team, BlockFlag.rally)){
out.add(other.tile.array());
}
}
}
public static class PositionTarget extends Flowfield{
public final Position position;