private void setToNextWayPoint(GeoGraph graph, GeoObj justCheckedNode) { EfficientList<GeoObj> followers = graph.getFollowingNodesOf(justCheckedNode); if (followers != null) { for (int i = 0; i < followers.myLength; i++) { GeoObj followingNode = followers.get(i); followingNode.setComp(newProxiSensor(graph)); setHighlightNodeTransformations(followingNode.getGraphicsComponent()); setHighlightEdgeTransformation(graph.getEdge(justCheckedNode, followingNode)); } } else { Log.d(LOG_TAG, justCheckedNode + " has no following nodes"); } }