Class WorldRenderEvent
java.lang.Object
de.ellpeck.rockbottom.api.event.Event
de.ellpeck.rockbottom.api.event.impl.WorldRenderEvent
This event is fired every frame when an
IWorld is rendered. It is
fired between the background, the entities and the particles rendering and
the foreground rendering. Note that when this event is fired, the game has
applied the IRenderer.getWorldScale() to the GL context. The event
cannot be cancelled.-
Field Summary
FieldsModifier and TypeFieldDescriptionfinal IAssetManagerfinal IGameInstancefinal IRendererfinal AbstractPlayerEntityfinal floatfinal floatfinal IWorld -
Constructor Summary
ConstructorsConstructorDescriptionWorldRenderEvent(IGameInstance game, IAssetManager assetManager, IRenderer graphics, IWorld world, AbstractPlayerEntity player, float translationX, float translationY) -
Method Summary
-
Field Details
-
game
-
assetManager
-
graphics
-
world
-
player
-
translationX
public final float translationX -
translationY
public final float translationY
-
-
Constructor Details
-
WorldRenderEvent
public WorldRenderEvent(IGameInstance game, IAssetManager assetManager, IRenderer graphics, IWorld world, AbstractPlayerEntity player, float translationX, float translationY)
-