public void init(int type) { SceneGame sceneGame = AppEngine.getCanvas().getSceneGame(); sceneGame.getUIList(4).initList(); sceneGame.getUIList(6).initList(); sceneGame.getUIList(5).initList(); this.setScrollOffset(0.0f); this.resetScrolling(false); this.resetSwiping(true); this.setType(type); this.setSwipeRange(-1980f, 0.0f, 330f); this.setSwipeOffset((float)(-type * 330)); }