/** * We only want to show double-blind visibility indicators on our own mechs and teammates mechs * (assuming team vision option). */ private boolean trackThisEntitiesVisibilityInfo(Entity e) { IPlayer localPlayer = bv.getLocalPlayer(); if (localPlayer == null) { return false; } if (bv.game.getOptions().booleanOption("double_blind") // $NON-NLS-1$ && ((e.getOwner().getId() == localPlayer.getId()) || (bv.game.getOptions().booleanOption("team_vision") // $NON-NLS-1$ && (e.getOwner().getTeam() == localPlayer.getTeam())))) { return true; } return false; }