Documentation
¶
Index ¶
- Variables
- func CalculateTextWidth(text string) int
- func CreateScreen() tcell.Screen
- func DrawDialogue(dialogue rpg.Dialogue, on tcell.Screen, at Pos)
- func DrawLocation(location data.Location, on tcell.Screen)
- func DrawPlayer(player data.Player, on tcell.Screen)
- func DrawStatusPanel(player data.Player, on tcell.Screen)
- func DrawUnit(unit Drawer, on tcell.Screen)
- type Box
- type Drawer
- type Pos
- type Text
Constants ¶
This section is empty.
Variables ¶
View Source
var ( TextStyle = tcell.StyleDefault.Background(tcell.ColorBlack).Foreground(tcell.ColorWhite) InfoTextStyle = tcell.StyleDefault.Background(tcell.ColorBlack).Foreground(tcell.ColorCadetBlue) BoxStyle = tcell.StyleDefault.Background(tcell.ColorBlack).Foreground(tcell.ColorWhite) )
Functions ¶
func CalculateTextWidth ¶
func CreateScreen ¶
Types ¶
Click to show internal directories.
Click to hide internal directories.