Esempio n. 1
0
 private void createProgressBar() {
   // TODO Auto-generated method stub
   m_progress_bar =
       new ProgressBar(
           GameActivity.getCameraWidth() / 2,
           (int) (0.95 * GameActivity.getCameraHeight()),
           m_resource_manager.m_progress_region,
           m_vbom,
           square_size * grid_size);
   m_progress_bar.setTotalTime(Constant.TOTAL_TIME);
   m_progress_bar.start();
 }
Esempio n. 2
0
  public void levelChange() {

    initSize();
    m_progress_bar.setTotalTime(Constant.TOTAL_TIME);
    _score.setLevel(_level);
    _score.reset();
    removeList.clear();
    m_game_state.setSize(grid_size);
    createGame();
    NumSprite.istouchable = true;
    m_progress_bar.resume();
  }