Package me.iron.WarpSpace.Mod.HUD.client
Class TextElement
java.lang.Object
java.util.Observable
org.schema.schine.graphicsengine.forms.AbstractSceneNode
org.schema.schine.graphicsengine.forms.gui.GUIElement
org.schema.schine.graphicsengine.forms.gui.GUITextOverlay
me.iron.WarpSpace.Mod.HUD.client.TextElement
- All Implemented Interfaces:
org.schema.schine.graphicsengine.core.Drawable,org.schema.schine.graphicsengine.forms.Positionable,org.schema.schine.graphicsengine.forms.Scalable
public class TextElement
extends org.schema.schine.graphicsengine.forms.gui.GUITextOverlay
STARMADE MOD
CREATOR: Max1M
DATE: 26.10.2020
TIME: 21:02
blatantly stolen from pilotelement of star api
-
Field Summary
Fields Modifier and Type Field Description HUD_elementparentjava.lang.StringtextFields inherited from class org.schema.schine.graphicsengine.forms.gui.GUITextOverlay
autoHeight, autoWrapOn, debug, defaultFont, doDepthTest, limitTextWidth, wrapSimpleFields inherited from class org.schema.schine.graphicsengine.forms.gui.GUIElement
callback, coord, deactivateCallbacks, ORIENTATION_BOTTOM, ORIENTATION_HORIZONTAL_MIDDLE, ORIENTATION_LEFT, ORIENTATION_NONE, ORIENTATION_RIGHT, ORIENTATION_TOP, ORIENTATION_VERTICAL_MIDDLE, RENDER_MODE_NORMAL, RENDER_MODE_SHADOW, renderMode, renderModeSet, textOverlay, translateOnlyMode, x16, x32 -
Constructor Summary
Constructors Constructor Description TextElement(org.newdawn.slick.UnicodeFont unicodeFont, org.schema.schine.input.InputState inputState) -
Method Summary
Methods inherited from class org.schema.schine.graphicsengine.forms.gui.GUITextOverlay
cleanUp, doOrientation, generateToolTip, getColor, getCurrentLineHeight, getCurrentLines, getFont, getHeight, getLimitTextDraw, getMaxLineWidth, getText, getTextHeight, getWidth, isBeginTextAtLast, isBlend, isPositionCenter, onDirty, setAWTColor, setBeginTextAtLast, setBlend, setClip, setColor, setColor, setColor, setFont, setHeight, setLimitTextDraw, setText, setTextFromArray, setTextSimple, setWidth, updateCacheForced, updateTextSize, useUncachedDefaultFontMethods inherited from class org.schema.schine.graphicsengine.forms.gui.GUIElement
addObserver, attach, attach, attach, checkBlockingOnly, checkMouseInside, checkMouseInsideWithTransform, clone, detach, detachAll, disableOrthogonal, disableScreenProjection, drawAttached, drawClipped, drawClipped, drawInfo, enableOrthogonal, enableOrthogonal3d, enableOrthogonal3d, enableScreenProjection, endStandardDraw, getCallback, getCurrentAbsolutePos, getRelMousePos, getState, getUserPointer, isActive, isChanged, isCoordsInside, isInside, isMouseUpdateEnabled, isNewHud, isOnScreen, isRenderable, needsReOrientation, orientate, orientate, orientateInsideFrame, resetToolTip, setCallback, setChanged, setInside, setMouseUpdateEnabled, setUserPointer, startStandardDraw, transform, transformTranslation, wasInsideMethods inherited from class org.schema.schine.graphicsengine.forms.AbstractSceneNode
activateCulling, attach, deactivateCulling, detach, getAnimation, getAnimation, getAnimations, getBillboardSphericalBeginMatrix, getBoundingBox, getBoundingSphereRadius, getChilds, getInitialQuadRot, getInitialScale, getInitionPos, getMaterial, getName, getParent, getPos, getRot4, getScale, getTransform, getTreeString, getVisibility, getWorldTranslation, isAnimated, isFlipCulling, isInvisible, isLoaded, isMirrorMode, isTransformRotScaleIdentity, isVisibleInFrustum, makeBiggestBoundingBox, makeBoundingSphere, move, rotateBy, selectAnimation, setAnimated, setAnimation, setAnimations, setBoundingBox, setBoundingSphereRadius, setBufferedTransformation, setFlipCulling, setInitialQuadRot, setInitialScale, setInitionPos, setLoaded, setMaterial, setMirrorMode, setName, setParent, setPos, setPos, setQuatRot, setRot, setRot, setScale, setScale, setTransform, setVisibility, toString, transform, transformPlane, translate, translateBack, updateMethods inherited from class java.util.Observable
clearChanged, countObservers, deleteObserver, deleteObservers, hasChanged, notifyObservers, notifyObservers, setChanged
-
Field Details
-
Constructor Details
-
TextElement
public TextElement(org.newdawn.slick.UnicodeFont unicodeFont, org.schema.schine.input.InputState inputState)
-
-
Method Details
-
onInit
public void onInit()- Specified by:
onInitin interfaceorg.schema.schine.graphicsengine.core.Drawable- Overrides:
onInitin classorg.schema.schine.graphicsengine.forms.gui.GUITextOverlay
-
draw
public void draw()- Specified by:
drawin interfaceorg.schema.schine.graphicsengine.core.Drawable- Overrides:
drawin classorg.schema.schine.graphicsengine.forms.gui.GUITextOverlay
-