Skip to content

Instantly share code, notes, and snippets.

@czxttkl
Created December 2, 2013 23:05
Show Gist options
  • Save czxttkl/7760708 to your computer and use it in GitHub Desktop.
Save czxttkl/7760708 to your computer and use it in GitHub Desktop.
public void setCurrentMode(int currentMode) {
this.currentMode = currentMode;
switch(mode) {
case MODE_MAIN_MENU:
OpenGLBugManager.generateMainMenuBug();
break;
case MODE_TUTORIAL_1:
mBugList.clear();
OpenGLBug mTutorial1Bug = generateTutorial1Bug();
mBugList.add(mTutorial1Bug);
break;
default:
OpenGLBugManager.clearList();
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment