File tree Expand file tree Collapse file tree 1 file changed +3
-4
lines changed
Expand file tree Collapse file tree 1 file changed +3
-4
lines changed Original file line number Diff line number Diff line change 77import bwapi .Unit ;
88import bwem .Base ;
99
10- import bwem .unit .NeutralImpl ;
11- import java .util .ArrayList ;
10+ import bwem .Neutral ;
1211import java .util .Collections ;
1312import java .util .List ;
1413import java .util .stream .Collectors ;
@@ -32,9 +31,9 @@ public class BaseLocation {
3231 this .tilePosition = base .getLocation ();
3332 this .minerals = 1 ;
3433 this .gas = 1 ;
35- this .mineralSet = base .getMinerals ().stream ().map (NeutralImpl ::getUnit ).collect (
34+ this .mineralSet = base .getMinerals ().stream ().map (Neutral ::getUnit ).collect (
3635 collectingAndThen (Collectors .toList (), Collections ::unmodifiableList ));
37- this .geyserSet = base .getGeysers ().stream ().map (NeutralImpl ::getUnit ).collect (
36+ this .geyserSet = base .getGeysers ().stream ().map (Neutral ::getUnit ).collect (
3837 collectingAndThen (Collectors .toList (), Collections ::unmodifiableList ));
3938 this .island = base .getArea ().getAccessibleNeighbors ().isEmpty ();
4039 this .mineralOnly = !mineralSet .isEmpty () && geyserSet .isEmpty ();
You can’t perform that action at this time.
0 commit comments