hand

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Dec 1, 2020 License: MIT Imports: 2 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Hand

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

Hand is a Player that played a Card

func New

func New(player player.Player, card card.Card) Hand

New returns a new Hand

func (Hand) GetCard

func (h Hand) GetCard() card.Card

GetCard returns the Card

func (Hand) GetPlayer

func (h Hand) GetPlayer() player.Player

GetPlayer returns the Player

Jump to

Keyboard shortcuts

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