ORK Framework  2.22.0
API Documentation
ORKFramework.HUDText Class Reference
Inheritance diagram for ORKFramework.HUDText:
ORKFramework.HUDElement ORKFramework.CoreHUDElement ORKFramework.BaseData ORKFramework.IBaseData

Public Member Functions

override void SetData (DataObject data)
 Sets the variables of the class using a ORKFramework.DataObject. More...
 
override void CreateLabels (GUIBox box, out List< BaseLabel > label, Rect displayBounds, Combatant combatant)
 
override bool CheckClick (Combatant combatant, Vector2 position, float releasedAfter, ref bool clickConsumed)
 
- Public Member Functions inherited from ORKFramework.HUDElement
virtual void CreateLabelsEditor (GUIBox box, out List< BaseLabel > label, Rect displayBounds, Combatant combatant)
 
- Public Member Functions inherited from ORKFramework.BaseData
virtual DataObject GetData ()
 Gets a ORKFramework.DataObject representing the class. More...
 
virtual void EditorAutoSetup (string fieldName)
 Called for all fields using the autoSetup option of the ORKFramework.ORKEditorLayoutAttribute. More...
 

Public Attributes

string[] text = ArrayHelper.CreateArray(ORK.Languages.Count, "")
 
float lineSpacing = 10
 
TextAlignment alignment = TextAlignment.Left
 
VerticalTextAlignment vAlignment = VerticalTextAlignment.Bottom
 
TextFormat textFormat = TextFormat.Default
 
bool useRequirements = false
 
VariableCondition variableCondition
 
HUDClickAction[] clickAction = new HUDClickAction[0]
 
- Public Attributes inherited from ORKFramework.HUDElement
bool box = false
 
bool noFlash = false
 
bool outsideBounds = false
 
HUDElementBounds bounds = new HUDElementBounds()
 
bool showBackground = false
 
DisplayImage bg
 
bool expandBoundsBG = false
 

Member Function Documentation

override void ORKFramework.HUDText.SetData ( DataObject  data)
virtual

Sets the variables of the class using a ORKFramework.DataObject.

Parameters
dataORKFramework.DataObject containing the data.

Reimplemented from ORKFramework.HUDElement.