Package | Description |
---|---|
org.mini2Dx.core.game | |
org.mini2Dx.core.graphics | |
org.mini2Dx.core.screen | |
org.mini2Dx.core.screen.transition | |
org.mini2Dx.tiled | |
org.mini2Dx.uats.common |
Modifier and Type | Method and Description |
---|---|
void |
ScreenBasedGame.render(Graphics g) |
abstract void |
GameContainer.render(Graphics g)
Render the game
|
Modifier and Type | Method and Description |
---|---|
void |
Animation.draw(Graphics g,
float x,
float y)
Draws the current frame of the animation
|
Modifier and Type | Method and Description |
---|---|
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
|
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) |
Modifier and Type | Method and Description |
---|---|
void |
TiledMap.draw(Graphics g,
int x,
int y)
Draws the entire map at the specified coordinates
|
void |
TiledMap.draw(Graphics g,
int x,
int y,
int layer)
Draws a layer of the map at the specified coordinates
|
void |
TiledMap.draw(Graphics g,
int x,
int y,
int startTileX,
int startTileY,
int width,
int height)
Draws a section of the map at the specified coordinates
|
void |
TiledMap.draw(Graphics g,
int x,
int y,
int startTileX,
int startTileY,
int width,
int height,
int layer)
Draws a section of a specified layer of the map at the specified coordinates
|
void |
Tileset.drawTile(Graphics g,
int tileId,
int renderX,
int renderY)
Draws a tile to the
Graphics context |
void |
Tileset.drawTileset(Graphics g,
int renderX,
int renderY)
Draws the whole tileset to the
Graphics context |
Modifier and Type | Method and Description |
---|---|
void |
TiledMapUAT.render(Graphics g) |
void |
GraphicsUAT.render(Graphics g) |
Copyright © 2014. All rights reserved.