Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Choices ¶
type Choices struct {
// contains filtered or unexported fields
}
Choices is a wheel that prints available choices
func NewChoices ¶
NewChoices creates a new empty Choices of a specific color
type Grid ¶
type Grid struct {
// contains filtered or unexported fields
}
Grid is a 2D matrix of text, rendered to an Image
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
Player presents player stats to the player
type Statbar ¶
type Statbar struct {
// contains filtered or unexported fields
}
Statbar is a labelled progressbar that represents some Player stat quantity
func NewStatbar ¶
NewStatbar creates a new filled Statbar
type Textbox ¶
type Textbox struct {
// contains filtered or unexported fields
}
Textbox is a bordered Box which prints text messages to the player
func NewTextbox ¶
NewTextbox creates a new empty textbox of a specific color
type Titlebar ¶
type Titlebar struct {
// contains filtered or unexported fields
}
Titlebar is a topbar which prints both a Title and Location
func NewTitlebar ¶
NewTitlebar creates a new empty titlebar of a specific color
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
Window presents the entire game area to the player
func (*Window) DisplayStat ¶
DisplayStat adds a Player Stat to the Window