view

package
v0.0.0-...-cdb0739 Latest Latest
Warning

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

Go to latest
Published: Oct 17, 2015 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrUserEndedGame = errors.New("User finished the game")
)
View Source
var ViewMakers = map[string]func() (Interface, error){}

Functions

This section is empty.

Types

type Interface

type Interface interface {
	SetBoards(my, other *model.Board) error
	Draw() error
	ShowResult(model.Result) error
	GetShoot() (int, int, error)
	Close() error
}

func GetView

func GetView(v string) (in Interface, err error)

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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