| Modifier and Type | Class and Description | 
|---|---|
class  | 
BasicGame
A simplified  
GameContainer for beginners to build upon | 
class  | 
ScreenBasedGame
An implementation of  
GameContainer that allows for separation of a
 game into multiple GameScreens and provides support for
 Transitions between such screens via a ScreenManager | 
| Constructor and Description | 
|---|
Mini2DxGame(GameContainer gc)
Constructor 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
GameScreen.initialise(GameContainer gc)
Initialises the game screen 
 | 
void | 
ScreenManager.interpolate(GameContainer gc,
           float alpha)
Interpolate between the previous and current state 
 | 
void | 
GameScreen.interpolate(GameContainer gc,
           float alpha)
Interpolate between the previous and current state 
 | 
void | 
BasicScreenManager.interpolate(GameContainer gc,
           float alpha)  | 
void | 
Transition.postRender(GameContainer gc,
          Graphics g)  | 
void | 
Transition.preRender(GameContainer gc,
         Graphics g)  | 
void | 
ScreenManager.render(GameContainer gc,
      Graphics g)
Renders the current  
GameScreen and any Transition that
 may be occurring | 
void | 
GameScreen.render(GameContainer gc,
      Graphics g)
Renders the game screen 
 | 
void | 
BasicScreenManager.render(GameContainer gc,
      Graphics g)  | 
void | 
Transition.update(GameContainer gc,
      float delta)  | 
void | 
ScreenManager.update(GameContainer gc,
      float delta)
Updates the current  
GameScreen and any Transition that
 may be occurring | 
void | 
BasicScreenManager.update(GameContainer gc,
      float delta)  | 
void | 
GameScreen.update(GameContainer gc,
      ScreenManager<? extends GameScreen> screenManager,
      float delta)
Updates the game screen 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
NullTransition.postRender(GameContainer gc,
          Graphics g)  | 
void | 
FadeOutTransition.postRender(GameContainer gc,
          Graphics g)  | 
void | 
FadeInTransition.postRender(GameContainer gc,
          Graphics g)  | 
void | 
NullTransition.preRender(GameContainer gc,
         Graphics g)  | 
void | 
FadeOutTransition.preRender(GameContainer gc,
         Graphics g)  | 
void | 
FadeInTransition.preRender(GameContainer gc,
         Graphics g)  | 
void | 
NullTransition.update(GameContainer gc,
      float delta)  | 
void | 
FadeOutTransition.update(GameContainer gc,
      float delta)  | 
void | 
FadeInTransition.update(GameContainer gc,
      float delta)  | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
ScreenComponent.interpolate(GameContainer gc,
           GameScreenEntity owner,
           float alpha)
Interpolate the screen component 
 | 
void | 
ScreenComponent.render(GameContainer gc,
      GameScreenEntity owner,
      Graphics g)
Render the screen component 
 | 
void | 
ScreenComponent.update(GameContainer gc,
      ScreenManager<? extends GameScreen> screenManager,
      GameScreenEntity owner,
      float delta)
Update the screen component 
 | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
GameScreenEntity.interpolateScreenComponents(GameContainer gc,
                           float alpha)  | 
void | 
GameScreenEntity.renderScreenComponents(GameContainer gc,
                      Graphics g)  | 
void | 
GameScreenEntity.updateScreenComponents(GameContainer gc,
                      ScreenManager<? extends GameScreen> screenManager,
                      float delta)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
EntityComponentSystemGame
An implementation of  
GameContainer based on the
 entity-component-system pattern | 
| Modifier and Type | Method and Description | 
|---|---|
void | 
System.initialise(GameContainer gc)
Initialise the  
System | 
void | 
ScreenManagerSystem.initialise(GameContainer gc)  | 
void | 
UUIDSystem.interpolate(GameContainer gc,
           float alpha)  | 
void | 
System.interpolate(GameContainer gc,
           float alpha)
Interpolate the  
System | 
void | 
ScreenManagerSystem.interpolate(GameContainer gc,
           float alpha)  | 
abstract void | 
UUIDSystem.interpolate(UUIDEntity entity,
           GameContainer gc,
           float alpha)
Interpolate an  
UUIDEntity | 
void | 
Box2DSystem.interpolate(UUIDEntity entity,
           GameContainer gc,
           float alpha)  | 
void | 
UUIDSystem.render(GameContainer gc,
      Graphics g)  | 
void | 
System.render(GameContainer gc,
      Graphics g)
Render the  
System | 
void | 
ScreenManagerSystem.render(GameContainer gc,
      Graphics g)  | 
abstract void | 
Box2DSystem.render(UUIDEntity entity,
      com.badlogic.gdx.physics.box2d.Body body,
      float renderX,
      float renderY,
      GameContainer gc,
      Graphics g)
Render a Box2D  
Body associated with an UUIDEntity | 
abstract void | 
UUIDSystem.render(UUIDEntity entity,
      GameContainer gc,
      Graphics g)
Render an  
UUIDEntity and any debugging information if debugging is
 enabled | 
void | 
Box2DSystem.render(UUIDEntity entity,
      GameContainer gc,
      Graphics g)  | 
void | 
UUIDSystem.update(GameContainer gc,
      float delta)  | 
void | 
System.update(GameContainer gc,
      float delta)
Update the  
System | 
void | 
ScreenManagerSystem.update(GameContainer gc,
      float delta)  | 
void | 
Box2DSystem.update(GameContainer gc,
      float delta)  | 
abstract void | 
UUIDSystem.update(UUIDEntity entity,
      GameContainer gc,
      float delta)
Update an  
UUIDEntity | 
void | 
Box2DSystem.update(UUIDEntity entity,
      GameContainer gc,
      float delta)  | 
| Modifier and Type | Class and Description | 
|---|---|
class  | 
ClippingUAT
A  
GameContainer that allows visual user acceptance testing of
 Graphics clipping functionality | 
class  | 
CrossFadingMusicLoopUAT
Utility instance for running a UAT for  
CrossFadingMusicLoop | 
class  | 
GraphicsUAT
A  
GameContainer that allows visual user acceptance testing of
 Graphics functionality | 
class  | 
TiledMapUAT
A  
GameContainer that allows visual user acceptance testing of
 TiledMap rendering | 
Copyright © 2014. All rights reserved.