PaginatedDynamicGUI

constructor(enumKClass: KClass<S>, player: Player)

Constructs a PaginatedDynamicGUI instance by delegating the given enumKClass and player to another constructor.

Parameters

enumKClass

The KClass of the generic type T used to manage the states of the GUI.

player

The player for whom the GUI is constructed.


constructor(enumClass: Class<S>, player: Player)

Parameters

S

the enum type for state management must extend Enum

enumClass

the class of the enum used for managing GUI states

player

the player associated with the GUI