Ejemplo n.º 1
0
  @Override
  public void render(float delta) {
    // TODO Auto-generated method stub
    GameUtils.clearScreen();
    mBatch.begin();
    mBatch.draw(background, 0, 0);
    txtTitle.Draw(mBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    txtMusic.Draw(mBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    txtSound.Draw(mBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    txtBack.Draw(mBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    mBatch.draw(selector, 25, selector_Y);
    mBatch.end();

    handleInput();
  }
Ejemplo n.º 2
0
  @Override
  public void render(float delta) {
    // TODO Auto-generated method stub
    GameUtils.clearScreen();
    mSpriteBatch.begin();
    mSpriteBatch.draw(mTextureBackground, 0, 0);
    mTxtChooseTitle.Draw(mSpriteBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    mTxtEasy.Draw(mSpriteBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    mTxtNormal.Draw(mSpriteBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    mTxtHard.Draw(mSpriteBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    mTxtExit.Draw(mSpriteBatch, GameUtils.getInstance().systemFont, Color.WHITE);
    mSpriteBatch.draw(mTextureSelector, 25, selector_Y);
    mSpriteBatch.end();

    handleInput();
  }