haxscii

package
v0.8.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 11, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package haxscii is a simple libary that overlays cell text over a generated ascii hex map

Index

Constants

This section is empty.

Variables

Colour funcs

Functions

func Colour added in v0.0.3

func Colour(b bool)

Colour toggles the colour output on/off (true/false)

Types

type Map

type Map [][]string

Map represents a 2 dimensional string matrix of the template

func NewMap

func NewMap(height, width int) Map

NewMap generates a mapscii template so that text can be superimposed on it

func (Map) SetTxt

func (m Map) SetTxt(row, col int, lines [4]string, color colourFunc)

SetTxt sets the text of a given hex

func (Map) String

func (m Map) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL