سؤال

I am developing a game using libgdx framework. I want to raise a dialogue when I pause the game, and on that dialogue I want to use a resume button. I know that I should use pause() and resume() methods, but I'm not able to understand what I should write in those methods.

Any help would be apprechiated.

My code:

@Override
protected void onPause() {
// TODO Auto-generated method stub
super.onPause();
}
@Override
protected void onResume() {
// TODO Auto-generated method stub
super.onResume();
}

لا يوجد حل صحيح

مرخصة بموجب: CC-BY-SA مع الإسناد
لا تنتمي إلى StackOverflow
scroll top