public final class TextPlugin extends Plugin
Constructor and Description |
---|
TextPlugin(Game game,
java.lang.String text)
Constructs the plugin.
|
Modifier and Type | Method and Description |
---|---|
javax.swing.JPanel |
buildUI()
Function responsible for building the UI and events handler of the plugin.
|
public TextPlugin(Game game, java.lang.String text)
game
- Current game.text
- Text to be displayed.