public void addMarker(int x,int z,Color color){
  MapMarker marker=new MapMarker();
  marker.x=x;
  marker.z=z;
  marker.color=color;
  markers.add(marker);
}

public void addMarker ( int x , int z , Color color ) { MapMarker marker = new MapMarker ( ) ; marker . x = x ; marker . z = z ; marker . color = color ; markers . add ( marker ) ; }
adds a marker to the map .
