if ( (player == entity.getOwnerId()) && !((LosEffects.calculateLos(game, entity.getId(), target)).isBlocked()) && entity.isActive()) { return true; } else { return false; }
return player == entity.getOwnerId() && !(LosEffects.calculateLos(game, entity.getId(), target)).isBlocked() && entity.isActive();
                    public boolean accept(Entity entity) {                        if ( (player == entity.getOwnerId()) &&                            !((LosEffects.calculateLos(game, entity.getId(), target)).isBlocked()) && entity.isActive()) {                            return true;                        } else {                            return false;                        }                    }