public class PlayerRenderEvent extends Event
AbstractPlayerEntity 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 and Description |
|---|---|
static class |
PlayerRenderEvent.Pre
This event is fired before na
AbstractPlayerEntity is rendered. |
| Modifier and Type | Field and Description |
|---|---|
IAssetManager |
assetManager |
IGameInstance |
game |
IRenderer |
graphics |
AbstractPlayerEntity |
player |
float |
x |
float |
y |
| Constructor and Description |
|---|
PlayerRenderEvent(IGameInstance game,
IAssetManager assetManager,
IRenderer graphics,
AbstractPlayerEntity player,
float x,
float y) |
public final IGameInstance game
public final IAssetManager assetManager
public final IRenderer graphics
public final AbstractPlayerEntity player
public final float x
public final float y
public PlayerRenderEvent(IGameInstance game, IAssetManager assetManager, IRenderer graphics, AbstractPlayerEntity player, float x, float y)