Module
A simplified constructor to inherit from.
fun Module(name: String, keyCode: Int = Keyboard.KEY_NONE, category: Category = Category.MISC, toggled: Boolean = false, settings: ArrayList<Setting<*>> = ArrayList(), description: String = "")
Parameters
name
The name of the Module. This has to be unique! This name is shown in the GUI and used to identify the module in the config.
key Code
Key code for the Modules key-bind.
category
Determines in which category Panel the module will appear in the GUI.
description
A description of the module and its usage that is shown in the Advanced GUI.