Vector2D posInFrontFront = new Vector2D(posInFront).add(lov);
if (agent.getEnvironment().isCrossing((int) posInFrontFront.x, (int) posInFrontFront.y)) {
List<GridObject> gos = agent.getEnvironment().getFieldPosition(posInFrontFront);
for (GridObject g : gos) {
if (g.getClass().equals(CarAgent.class)) {
CarAgent ca = (CarAgent) g;
if (ca.getAgentAngle() != agent.getAgentAngle()) {
inFront.add(ca);
}
}
}
}