This commit is contained in:
Anuken
2020-10-02 23:15:52 -04:00
parent 99bc330ce4
commit 7a307bbe9c
8 changed files with 23 additions and 18 deletions

View File

@@ -17,16 +17,18 @@ abstract class TeamComp implements Posc{
return team.rules().cheat;
}
public @Nullable
Building core(){
@Nullable
public Building core(){
return team.core();
}
public @Nullable Building closestCore(){
@Nullable
public Building closestCore(){
return state.teams.closestCore(x, y, team);
}
public @Nullable Building closestEnemyCore(){
@Nullable
public Building closestEnemyCore(){
return state.teams.closestEnemyCore(x, y, team);
}
}