build

fun build(player: Player, openUi: Boolean = true): SimpleUi

Builds the UI

Return

The built SimpleUi

Parameters

player

The player who will see the UI

openUi

True to open the UI, false to close it