Class ButtonData
- java.lang.Object
-
- be.yildizgames.module.graphic.gui.button.ButtonData
-
public final class ButtonData extends Object
Contains data to build a button: materials and listener. This class is immutable.- Author:
- Grégory Van den Borre
-
-
Field Summary
Fields Modifier and Type Field Description be.yildizgames.module.window.input.MouseLeftClickListenerlistenerMouse left click listener.ButtonMaterialmaterialBackground material.
-
Constructor Summary
Constructors Constructor Description ButtonData(ButtonMaterial material, be.yildizgames.module.window.input.MouseLeftClickListener listener)
-
-
-
Field Detail
-
material
public final ButtonMaterial material
Background material.
-
listener
public final be.yildizgames.module.window.input.MouseLeftClickListener listener
Mouse left click listener.
-
-
Constructor Detail
-
ButtonData
public ButtonData(ButtonMaterial material, be.yildizgames.module.window.input.MouseLeftClickListener listener)
-
-