PlayerRenderEvent.Prepublic class PlayerRenderEvent extends Event
AbstractEntityPlayer is rendered. Note
that during the firing of this event, the IRenderer.getWorldScale()
is applied to the GL context. This event cannot be cancelled. Use PlayerRenderEvent.Pre
if you want to render something before the player is rendered, or if you want
to cancel the rendering of the player.| Modifier and Type | Class | Description |
|---|---|---|
static class |
PlayerRenderEvent.Pre |
This event is fired before na
AbstractEntityPlayer is rendered. |
| Modifier and Type | Field | Description |
|---|---|---|
IAssetManager |
assetManager |
|
IGameInstance |
game |
|
IRenderer |
graphics |
|
AbstractEntityPlayer |
player |
|
float |
x |
|
float |
y |
| Constructor | Description |
|---|---|
PlayerRenderEvent(IGameInstance game,
IAssetManager assetManager,
IRenderer graphics,
AbstractEntityPlayer player,
float x,
float y) |
public final IGameInstance game
public final IAssetManager assetManager
public final IRenderer graphics
public final AbstractEntityPlayer player
public final float x
public final float y
public PlayerRenderEvent(IGameInstance game, IAssetManager assetManager, IRenderer graphics, AbstractEntityPlayer player, float x, float y)