event

package
v0.5.1 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2021 License: MIT-0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewDrawEvent

func NewDrawEvent() tcell.Event

func NewFunctionEvent

func NewFunctionEvent(fn func()) tcell.Event

func NewPingEvent

func NewPingEvent() tcell.Event

func NewPlayerEvent

func NewPlayerEvent() tcell.Event

func PostTickerEvents

func PostTickerEvents(postEvent func(tcell.Event) error, t time.Duration, newEvent func() tcell.Event, quit <-chan struct{})

Types

type Draw

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

func (Draw) When

func (ev Draw) When() time.Time

type Function

type Function struct {
	Run func()
	// contains filtered or unexported fields
}

func (Function) When

func (ev Function) When() time.Time

type Ping

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

func (Ping) When

func (ev Ping) When() time.Time

type Player

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

func (Player) When

func (ev Player) When() time.Time

Jump to

Keyboard shortcuts

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