Class Positions
java.lang.Object
net.dillon.dillonlib.screen.Positions
-
Field Summary
FieldsModifier and TypeFieldDescriptionprotected intprotected intThe current graphics width and graphics height of the screen builder, which is updated and then reset every frame to keep correct positions.protected intprotected intThe first width and height that are initialized when creating a screen builder.protected intprotected intThe current width and height of the screen builder. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
initialWidth
protected int initialWidthThe first width and height that are initialized when creating a screen builder. These values never change once the screen is created. -
initialHeight
protected int initialHeight -
screenWidth
protected int screenWidthThe current width and height of the screen builder. Modify these in builder methods, like init() or widgets(). -
screenHeight
protected int screenHeight -
graphicsWidth
protected int graphicsWidthThe current graphics width and graphics height of the screen builder, which is updated and then reset every frame to keep correct positions. Only modify these in render methods, like extractRenderState() and drawText(). -
graphicsHeight
protected int graphicsHeight
-
-
Constructor Details
-
Positions
public Positions()
-