efficom.runningjoe.ui
Class AbstractScreen

java.lang.Object
  extended by efficom.runningjoe.ui.AbstractScreen
All Implemented Interfaces:
com.badlogic.gdx.Screen
Direct Known Subclasses:
AbstractMenuItemScreen, LoginScreen, MainScreen, SplashScreen

public abstract class AbstractScreen
extends java.lang.Object
implements com.badlogic.gdx.Screen

The base class for all game screens.


Constructor Summary
AbstractScreen(RunningJoe game)
           
 
Method Summary
 void dispose()
           
 com.badlogic.gdx.graphics.g2d.TextureAtlas getAtlas()
           
 com.badlogic.gdx.graphics.g2d.SpriteBatch getBatch()
           
 com.badlogic.gdx.graphics.g2d.BitmapFont getFont()
           
 void hide()
           
 void pause()
           
 void render(float delta)
           
 void resize(int width, int height)
           
 void resume()
           
 void show()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

AbstractScreen

public AbstractScreen(RunningJoe game)
Method Detail

getFont

public com.badlogic.gdx.graphics.g2d.BitmapFont getFont()

getBatch

public com.badlogic.gdx.graphics.g2d.SpriteBatch getBatch()

getAtlas

public com.badlogic.gdx.graphics.g2d.TextureAtlas getAtlas()

show

public void show()
Specified by:
show in interface com.badlogic.gdx.Screen

resize

public void resize(int width,
                   int height)
Specified by:
resize in interface com.badlogic.gdx.Screen

render

public void render(float delta)
Specified by:
render in interface com.badlogic.gdx.Screen

hide

public void hide()
Specified by:
hide in interface com.badlogic.gdx.Screen

pause

public void pause()
Specified by:
pause in interface com.badlogic.gdx.Screen

resume

public void resume()
Specified by:
resume in interface com.badlogic.gdx.Screen

dispose

public void dispose()
Specified by:
dispose in interface com.badlogic.gdx.Screen