public class BasicMainMenu extends java.lang.Object implements MainMenuInterface
Constructor and Description |
---|
BasicMainMenu(BasicMenuItem[] menuItems)
Use this constructor to pass your controller and views in order of the main menu
|
Modifier and Type | Method and Description |
---|---|
void |
dispose() |
static MenuController |
getController() |
static MenuView |
getView() |
void |
hide() |
void |
init()
Use init like the constructor.
|
void |
pause() |
void |
render(float delta) |
void |
resize(int width,
int height) |
void |
resume() |
void |
show() |
void |
supressWarning()
If you want to hide the warning message call this method.
|
public BasicMainMenu(BasicMenuItem[] menuItems)
menuItems
- public void init()
MainMenuInterface
init
in interface MainMenuInterface
public void render(float delta)
render
in interface com.badlogic.gdx.Screen
public void resize(int width, int height)
resize
in interface com.badlogic.gdx.Screen
public void show()
show
in interface com.badlogic.gdx.Screen
public void hide()
hide
in interface com.badlogic.gdx.Screen
public void pause()
pause
in interface com.badlogic.gdx.Screen
public void resume()
resume
in interface com.badlogic.gdx.Screen
public void dispose()
dispose
in interface com.badlogic.gdx.Screen
public static MenuController getController()
public static MenuView getView()
public void supressWarning()