client

package
v0.0.0-...-27af21b Latest Latest
Warning

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

Go to latest
Published: Oct 29, 2024 License: MIT Imports: 15 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Client

type Client struct {
	Logger          *log.Logger
	Conn            net.Conn
	Reader          *bufio.Reader
	GameState       *game.GameState
	GUI             *gui.GUI
	HaveDrawnChunks bool
	App             *tview.Application
}

func NewClient

func NewClient(tv *tview.Application) (*Client, error)

func (*Client) Close

func (c *Client) Close()

func (*Client) HandleInput

func (c *Client) HandleInput(event *tcell.EventKey) *tcell.EventKey

func (*Client) Listen

func (c *Client) Listen()

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL
JackTT - Gopher 🇻🇳