Cleanup
This commit is contained in:
@@ -83,10 +83,6 @@ public class Team implements Comparable<Team>{
|
|||||||
return state.rules.teams.get(this);
|
return state.rules.teams.get(this);
|
||||||
}
|
}
|
||||||
|
|
||||||
//public Team[] enemies(){
|
|
||||||
// return state.teams.enemiesOf(this);
|
|
||||||
//}
|
|
||||||
|
|
||||||
public TeamData data(){
|
public TeamData data(){
|
||||||
return state.teams.get(this);
|
return state.teams.get(this);
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -45,10 +45,6 @@ public class Teams{
|
|||||||
return Geometry.findClosest(x, y, get(team).cores);
|
return Geometry.findClosest(x, y, get(team).cores);
|
||||||
}
|
}
|
||||||
|
|
||||||
//public Team[] enemiesOf(Team team){
|
|
||||||
// return get(team).enemies;
|
|
||||||
//}
|
|
||||||
|
|
||||||
public boolean eachEnemyCore(Team team, Boolf<CoreBuild> ret){
|
public boolean eachEnemyCore(Team team, Boolf<CoreBuild> ret){
|
||||||
for(TeamData data : active){
|
for(TeamData data : active){
|
||||||
if(areEnemies(team, data.team)){
|
if(areEnemies(team, data.team)){
|
||||||
|
|||||||
Reference in New Issue
Block a user