Class PlayerRenderEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.PlayerRenderEvent
- Direct Known Subclasses:
PlayerRenderEvent.Pre
This event is fired after an
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.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThis event is fired before naAbstractPlayerEntityis rendered. -
Field Summary
FieldsModifier and TypeFieldDescriptionfinal IAssetManagerfinal IGameInstancefinal IRendererfinal AbstractPlayerEntityfinal floatfinal float -
Constructor Summary
ConstructorsConstructorDescriptionPlayerRenderEvent(IGameInstance game, IAssetManager assetManager, IRenderer graphics, AbstractPlayerEntity player, float x, float y) -
Method Summary
-
Field Details
-
game
-
assetManager
-
graphics
-
player
-
x
public final float x -
y
public final float y
-
-
Constructor Details
-
PlayerRenderEvent
public PlayerRenderEvent(IGameInstance game, IAssetManager assetManager, IRenderer graphics, AbstractPlayerEntity player, float x, float y)
-