Package me.iron.WarpSpace.Mod.HUD.client
Class HUDElementController
java.lang.Object
me.iron.WarpSpace.Mod.HUD.client.HUDElementController
public class HUDElementController
extends java.lang.Object
STARMADE MOD
CREATOR: Max1M
DATE: 20.12.2020
TIME: 23:24
-
Constructor Summary
Constructors Constructor Description HUDElementController()
-
Method Summary
Modifier and Type Method Description static void
clearType(HUD_element.ElementType type)
will clear all elements of this type from screenstatic void
drawElement(SpriteList element, boolean clean)
will enable the given elementstatic void
drawType(HUD_element.ElementType type, int value)
will set all elements of given type to ON: 1 or OFF: 2
-
Constructor Details
-
HUDElementController
public HUDElementController()
-
-
Method Details
-
drawElement
will enable the given element- Parameters:
element
- Spritelist element = imageclean
- disable other elements of this type
-
drawType
will set all elements of given type to ON: 1 or OFF: 2- Parameters:
type
- Elementtypevalue
- value 0,1
-
clearType
will clear all elements of this type from screen- Parameters:
type
- ElementType to clear.
-