Class NysvaManager

java.lang.Object
net.athonedevs.krork.nysvaui.NysvaManager

public class NysvaManager
extends java.lang.Object
  • Constructor Summary

    Constructors 
    Constructor Description
    NysvaManager()
    The constructor of the class
  • Method Summary

    Modifier and Type Method Description
    void addObject​(NysvaUI object)
    Adds an NysvaUI
    NysvaUI getObject​(long componentID)
    Gets an specific object
    java.util.ArrayList<NysvaUI> getObjects()  
    void onMouseClicked​(java.awt.event.MouseEvent e)  
    void onMouseDragged​(java.awt.event.MouseEvent e)  
    void onMouseMove​(java.awt.event.MouseEvent e)  
    void removeAllObjects()
    Removes all the objects
    void removeObject​(long componentID)
    Removes an NysvaUI
    void removeObject​(NysvaUI object)
    Removes an NysvaUI
    void render​(java.awt.Graphics g)  
    void tick()  

    Methods inherited from class java.lang.Object

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

    • NysvaManager

      public NysvaManager()
      The constructor of the class
  • Method Details

    • addObject

      public void addObject​(NysvaUI object)
      Adds an NysvaUI
      Parameters:
      object - The NysvaUI
      See Also:
      NysvaUI
    • removeObject

      public void removeObject​(NysvaUI object)
      Removes an NysvaUI
      Parameters:
      object - The NysvaUI
      See Also:
      NysvaUI
    • removeObject

      public void removeObject​(long componentID)
      Removes an NysvaUI
      Parameters:
      componentID - The componentID
      See Also:
      NysvaUI
    • removeAllObjects

      public void removeAllObjects()
      Removes all the objects
    • getObject

      public NysvaUI getObject​(long componentID)
      Gets an specific object
      Parameters:
      componentID - The ID of the component to search
    • tick

      public void tick()
    • render

      public void render​(java.awt.Graphics g)
    • onMouseDragged

      public void onMouseDragged​(java.awt.event.MouseEvent e)
    • onMouseMove

      public void onMouseMove​(java.awt.event.MouseEvent e)
    • onMouseClicked

      public void onMouseClicked​(java.awt.event.MouseEvent e)
    • getObjects

      public java.util.ArrayList<NysvaUI> getObjects()