forceVisibility(onVisibilityCheck());
}
@Override
public void draw(Graphics2D g2d, float time) {
FragmentManager fragmentManager = mapViewer.getFragmentManager();
ArrayList<String> panelText = new ArrayList<String>();
panelText.add("Fragment Manager:");
panelText.add("Pool Size: " + fragmentManager.getCacheSize());
panelText.add("Free Queue Size: " + fragmentManager.getFreeFragmentQueueSize());
panelText.add("Request Queue Size: " + fragmentManager.getRequestQueueSize());
panelText.add("Recycle Queue Size: " + fragmentManager.getRecycleQueueSize());
panelText.add("");
panelText.add("Map Viewer:");
panelText.add("Map Size: " + map.tileWidth + "x" + map.tileHeight + " [" + (map.tileWidth * map.tileHeight) + "]");
int width = 0, height;