game

package
v0.1.2 Latest Latest
Warning

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

Go to latest
Published: Jul 21, 2024 License: MIT Imports: 0 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ValueOfDifficulty

func ValueOfDifficulty(d Difficulty) byte

Types

type Difficulty

type Difficulty byte
const (
	PEACEFUL Difficulty = iota
	EASY
	NORMAL
	HARD
)

func DifficultyValueOf

func DifficultyValueOf(id byte) Difficulty

func (Difficulty) String

func (d Difficulty) String() string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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