gui

package
v0.0.0-...-48e53a6 Latest Latest
Warning

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

Go to latest
Published: May 16, 2019 License: MIT Imports: 26 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DrawGameStats

func DrawGameStats(playerLeft player.Player, playerRight player.Player)

Types

type Layout

type Layout interface {
	Update(screen *ebiten.Image) error
	ToggleMenu() bool
	GetGame() Game // TODO Add possibility to pause, resume and restart the game
	GetMenu() Menu
	Draw(screen *ebiten.Image)
}

func NewLayout

func NewLayout(playerO string, playerX string) Layout

Directories

Path Synopsis
btn

Jump to

Keyboard shortcuts

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