Class Component
java.lang.Object
org.collebol.client.gui.graphics.ui.Component
The Component class is an abstract class that represents a UI component in the game.
It contains properties for the component's ID, position, width, and height, along with their respective getters and setters.
- Since:
- 1.0-dev
- Author:
- ColleBol - contact@collebol.org
-
Constructor Details
-
Component
public Component()
-
-
Method Details
-
getHeight
public float getHeight() -
setHeight
public void setHeight(float height) -
getWidth
public float getWidth() -
setWidth
public void setWidth(float width) -
getPosition
-
getId
public int getId() -
setId
public void setId(int id)
-