Package net.athonedevs.krork.nysvaui
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 NysvaUINysvaUI
getObject(long componentID)
Gets an specific objectjava.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 objectsvoid
removeObject(long componentID)
Removes an NysvaUIvoid
removeObject(NysvaUI object)
Removes an NysvaUIvoid
render(java.awt.Graphics g)
void
tick()
-
Constructor Details
-
NysvaManager
public NysvaManager()The constructor of the class
-
-
Method Details
-
addObject
Adds an NysvaUI- Parameters:
object
- The NysvaUI- See Also:
NysvaUI
-
removeObject
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
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
-