Package me.iron.WarpSpace.Mod.HUD.client
Class HUD_core
java.lang.Object
me.iron.WarpSpace.Mod.HUD.client.HUD_core
public class HUD_core
extends java.lang.Object
STARMADE MOD
CREATOR: Max1M
DATE: 16.12.2020
TIME: 19:23
-
Field Summary
Fields Modifier and Type Field Description static HUD_elementconsolesome general HUD element placements to use a position references. any element built with these will move + scale with themstatic java.util.HashMap<SpriteList,java.lang.Integer>drawListstatic java.util.List<HUD_element>elementListstatic HUD_elementinterdictionBoxprivate static booleanisDroppingprivate static booleanisEntryprivate static booleanisExitprivate static booleanisRSPSectorBlockedprivate static booleanisWarpSectorBlockedprivate static javax.vecmath.Vector3fnoInhibitionprivate static javax.vecmath.Vector3fonInhibitionstatic WarpProcessController.WarpProcessplayerWarpStatestatic HUD_elementspaceIndicator -
Constructor Summary
Constructors Constructor Description HUD_core() -
Method Summary
Modifier and Type Method Description static voidHUD_processPacket(WarpProcessController.WarpProcess process, java.lang.Integer value, java.util.List<java.lang.String> processArray)is called by me.iron.WarpSpace.Mod.network.PacketHUDUpdate, used to transfer information from the server to the client about what a player is currently doing related to warp.static voidHUDLoop()static voidinitList()initialize the list of hud elements, add all entries into the drawList.private static voidUpdateSituation()update player situation fields from WarpProcessMap
-
Field Details
-
elementList
-
drawList
-
console
some general HUD element placements to use a position references. any element built with these will move + scale with them -
spaceIndicator
-
interdictionBox
-
playerWarpState
-
isDropping
private static boolean isDropping -
isEntry
private static boolean isEntry -
isExit
private static boolean isExit -
isRSPSectorBlocked
private static boolean isRSPSectorBlocked -
isWarpSectorBlocked
private static boolean isWarpSectorBlocked -
noInhibition
private static javax.vecmath.Vector3f noInhibition -
onInhibition
private static javax.vecmath.Vector3f onInhibition
-
-
Constructor Details
-
HUD_core
public HUD_core()
-
-
Method Details
-
initList
public static void initList()initialize the list of hud elements, add all entries into the drawList. -
HUD_processPacket
public static void HUD_processPacket(WarpProcessController.WarpProcess process, java.lang.Integer value, java.util.List<java.lang.String> processArray)is called by me.iron.WarpSpace.Mod.network.PacketHUDUpdate, used to transfer information from the server to the client about what a player is currently doing related to warp. Sets the received info to WarpProcessController to the ProcessMap, allows additional info in processarray. dependent on what process is updated.- Parameters:
value- xprocess- xprocessArray- x
-
HUDLoop
public static void HUDLoop() -
UpdateSituation
private static void UpdateSituation()update player situation fields from WarpProcessMap
-