typewriter

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 21, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Writer

type Writer struct {
	// contains filtered or unexported fields
}

func New

func New(text string, ctx *misc.Context) *Writer

func (*Writer) Draw

func (self *Writer) Draw(screen *ebiten.Image, fontSize int, bounds image.Rectangle, opacity uint8) (int, int)

func (*Writer) ReachedEnd

func (self *Writer) ReachedEnd() bool

func (*Writer) SkipToEnd

func (self *Writer) SkipToEnd()

func (*Writer) Tick

func (self *Writer) Tick()

Jump to

Keyboard shortcuts

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