player

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: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Player

type Player interface {
	GetName() string
	SetName(name string)

	IsCurrent() bool
	SetCurrent(current bool)

	GetPoints() int
	SetPoints(points int)
	IncrementPoints() int

	// Online Functions
	IsRemote() bool
	SetRemote(remote bool)

	IsPlayer1() bool
	SetPlayer1(player1 bool)

	GetDBPlayer() db.DBPlayer
	SetDBPlayer(dbPlayer db.DBPlayer)
}

func NewPlayer

func NewPlayer(name string) Player

Jump to

Keyboard shortcuts

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