Documentation ¶
Index ¶
- func Center(width, height int, p tview.Primitive) tview.Primitive
- func CreateMultiplayer(g *gocui.Gui) error
- func CreateMultiplayerRoom(g *gocui.Gui) error
- func CreateMultiplayerSetup(g *gocui.Gui) error
- func CreateSettings(app *tview.Application) error
- func CreateSingleplayer(app *tview.Application) error
- func CreateWelcome(app *tview.Application) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Center ¶ added in v0.1.4
Center returns a new primitive which shows the provided primitive in its center, given the provided primitive's size. credits: https://github.com/rivo/tview/blob/master/demos/presentation/center.go
func CreateMultiplayer ¶
CreateMultiplayer creates multiplayer screen widgets
func CreateMultiplayerRoom ¶ added in v0.1.2
CreateMultiplayerRoom creates a room for multiplayer
func CreateMultiplayerSetup ¶
CreateMultiplayerSetup creates multiplayer room creation
func CreateSettings ¶
func CreateSettings(app *tview.Application) error
CreateSettings creates a screen with settings
func CreateSingleplayer ¶
func CreateSingleplayer(app *tview.Application) error
CreateSingleplayer creates singleplayer screen widgets
func CreateWelcome ¶
func CreateWelcome(app *tview.Application) error
CreateWelcome creates welcome screen widgets
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.