Certain team-specific rules

This commit is contained in:
Anuken
2020-06-15 12:00:32 -04:00
parent 90b0650af9
commit b5660a50ca
61 changed files with 291 additions and 237 deletions

View File

@@ -13,6 +13,14 @@ abstract class TeamComp implements Posc{
Team team = Team.derelict;
public boolean cheating(){
return team.rules().cheat;
}
public @Nullable Tilec core(){
return team.core();
}
public @Nullable Tilec closestCore(){
return state.teams.closestCore(x, y, team);
}