Package | Description |
---|---|
org.cell2d | |
org.cell2d.celick | |
org.cell2d.celick.opengl.pbuffer | |
org.cell2d.space | |
org.cell2d.space.map |
Modifier and Type | Method and Description |
---|---|
void |
AnimationInstance.draw(Graphics g,
int x,
int y) |
void |
Drawable.draw(Graphics g,
int x,
int y)
Draws this Drawable's image to the specified Graphics context.
|
void |
Sprite.draw(Graphics g,
int x,
int y) |
void |
AnimationInstance.draw(Graphics g,
int x,
int y,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
Drawable.draw(Graphics g,
int x,
int y,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter)
Draws this Drawable's image to the specified Graphics context.
|
void |
Sprite.draw(Graphics g,
int x,
int y,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
AnimationInstance.draw(Graphics g,
int x,
int y,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
void |
Drawable.draw(Graphics g,
int x,
int y,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter)
Draws this Drawable's image to the specified Graphics context.
|
void |
Sprite.draw(Graphics g,
int x,
int y,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
void |
AnimationInstance.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom) |
void |
Drawable.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom)
Draws a rectangular region of this Drawable's image to the specified
Graphics context.
|
void |
Sprite.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom) |
void |
AnimationInstance.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
Drawable.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter)
Draws a rectangular region of this Drawable's image to the specified
Graphics context.
|
void |
Sprite.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
AnimationInstance.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
void |
Drawable.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter)
Draws a rectangular region of this Drawable's image to the specified
Graphics context.
|
void |
Sprite.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
static java.awt.Rectangle |
Drawable.getRenderableRegion(Graphics g)
Returns the rectangular region of the specified Graphics context that can
currently be rendered to.
|
void |
CellGame.renderActions(Graphics g,
int x1,
int y1,
int x2,
int y2)
Actions for this CellGame to take each frame to render visuals after its
current GameState has finished rendering.
|
void |
GameState.renderActions(T game,
Graphics g,
int x1,
int y1,
int x2,
int y2)
Actions for this GameState to take each frame to render its visuals.
|
void |
CellGame.renderLoadingVisuals(Graphics g,
int x1,
int y1,
int x2,
int y2)
Renders the visuals that this CellGame will display while its
initActions() are in progress.
|
Modifier and Type | Field and Description |
---|---|
protected static Graphics |
Graphics.currentGraphics
The last graphics context in use
|
Modifier and Type | Method and Description |
---|---|
Graphics |
GameContainer.getGraphics()
Get the graphics context used by this container.
|
Graphics |
Image.getGraphics()
Get a graphics context that can be used to draw to this image
|
Modifier and Type | Method and Description |
---|---|
void |
Game.gameLoop(GameContainer container,
int msElapsed,
Graphics g)
Update the game logic and render the game's screen here.
|
static void |
Graphics.setCurrent(Graphics current)
Set the current graphics context in use
|
Modifier and Type | Class and Description |
---|---|
class |
FBOGraphics
A graphics implementation that renders to an FBO
|
class |
PBufferGraphics
A graphics implementation that renders to a PBuffer
|
class |
PBufferUniqueGraphics
A graphics implementation that renders to a PBuffer using a unique context, i.e.
|
Modifier and Type | Method and Description |
---|---|
static Graphics |
GraphicsFactory.getGraphicsForImage(Image image)
Get a graphics context for a particular image
|
Modifier and Type | Method and Description |
---|---|
void |
SpaceObject.draw(Graphics g,
int x,
int y)
Draws this SpaceObject as seen through a Viewport's camera.
|
void |
HUD.renderActions(Graphics g,
int x1,
int y1,
int x2,
int y2)
Actions for this HUD to take to render its visuals.
|
void |
ColorSpaceLayer.renderActions(Graphics g,
long cx,
long cy,
int x,
int y,
int x1,
int y1,
int x2,
int y2) |
void |
DrawableSpaceLayer.renderActions(Graphics g,
long cx,
long cy,
int x,
int y,
int x1,
int y1,
int x2,
int y2) |
void |
SpaceLayer.renderActions(Graphics g,
long cx,
long cy,
int x,
int y,
int x1,
int y1,
int x2,
int y2)
Actions for this SpaceLayer to take to render its visuals through a
Viewport's camera.
|
void |
SpaceState.renderActions(T game,
Graphics g,
int x1,
int y1,
int x2,
int y2) |
Modifier and Type | Method and Description |
---|---|
void |
TileGrid.draw(Graphics g,
int x,
int y) |
void |
TileGrid.draw(Graphics g,
int x,
int y,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
TileGrid.draw(Graphics g,
int x,
int y,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |
void |
TileGrid.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom) |
void |
TileGrid.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
boolean xFlip,
boolean yFlip,
double angle,
double alpha,
Filter filter) |
void |
TileGrid.draw(Graphics g,
int x,
int y,
int left,
int right,
int top,
int bottom,
double scale,
boolean xFlip,
boolean yFlip,
double alpha,
Filter filter) |