Пример #1
0
 public void restartGame() {
   removeMap();
   m_progress_bar.reset();
   m_progress_bar.start();
   removeList.clear();
   _score.reset();
   createGame();
 }
Пример #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();
  }