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
Click to show internal directories.
Click to hide internal directories.