Removed unused rally field
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user