game

package
v0.0.0-...-f9ac281 Latest Latest
Warning

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

Go to latest
Published: Jun 16, 2019 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewPlayer

func NewPlayer() player

NewPlayer creates a new random character.

Types

type Spellbook

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

Spellbook are the list of spells that make up the player's spellbook.

func NewSpellbook

func NewSpellbook() Spellbook

NewSpellbook creates and initializes a Spellbook.

func (*Spellbook) IncreaseRandomSpell

func (s *Spellbook) IncreaseRandomSpell(wisdom uint32, level uint64)

IncreaseRandomSpell will

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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