Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
Levels holds all possible values.
View Source
var TechniqueLevels = []Level{ Average, Hard, }
TechniqueLevels holds all possible values when used with Techniques.
Functions ¶
This section is empty.
Types ¶
type Level ¶
type Level byte
Level holds the difficulty level of a skill.
func ExtractLevel ¶
ExtractLevel extracts the value from a string.
func (Level) BaseRelativeLevel ¶
BaseRelativeLevel returns the base relative skill level at 0 points.
func (Level) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Level) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Level) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.