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 screen
    static void drawElement​(SpriteList element, boolean clean)
    will enable the given element
    static void drawType​(HUD_element.ElementType type, int value)
    will set all elements of given type to ON: 1 or OFF: 2

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Constructor Details

  • Method Details

    • drawElement

      public static void drawElement​(SpriteList element, boolean clean)
      will enable the given element
      Parameters:
      element - Spritelist element = image
      clean - disable other elements of this type
    • drawType

      public static void drawType​(HUD_element.ElementType type, int value)
      will set all elements of given type to ON: 1 or OFF: 2
      Parameters:
      type - Elementtype
      value - value 0,1
    • clearType

      public static void clearType​(HUD_element.ElementType type)
      will clear all elements of this type from screen
      Parameters:
      type - ElementType to clear.