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_element
console
some 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>
drawList
static java.util.List<HUD_element>
elementList
static HUD_element
interdictionBox
private static boolean
isDropping
private static boolean
isEntry
private static boolean
isExit
private static boolean
isRSPSectorBlocked
private static boolean
isWarpSectorBlocked
private static javax.vecmath.Vector3f
noInhibition
private static javax.vecmath.Vector3f
onInhibition
static WarpProcessController.WarpProcess
playerWarpState
static HUD_element
spaceIndicator
-
Constructor Summary
Constructors Constructor Description HUD_core()
-
Method Summary
Modifier and Type Method Description 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.static void
HUDLoop()
static void
initList()
initialize the list of hud elements, add all entries into the drawList.private static void
UpdateSituation()
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
-