/** * TODO Abstract... 1) DrawableManager currently requires knowledge of XIHistoryParticle and is * casting to that type. 2) refreshViews - should be a straight override. */ @Override public List<List<IMyDrawable>> refreshHistoryParticleView() { // Calls update. // Returns particles as IMyDrawables. List<IXParticle> currentList = historyParticleManager.updateAllParticles(screenWidth, screenHeight); List<List<IMyDrawable>> drawableList = new ArrayList<List<IMyDrawable>>(); drawableList.add(dm.makeDrawableText(currentList)); drawableList.add(dm.makeDrawableParticles(currentList)); return drawableList; }
@Override public List<HistoryUrl> getTopTenUrls() { return historyParticleManager.getTopTenUrls(); }
@Override public int getUniqueURLCount() { return historyParticleManager.getUniqueURLCount(); }
@Override public IXHistoryParticle getLastParticleInCollection() { return historyParticleManager.getLastParticle(); }