Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options = []Option{ None, Thrust, LeveledThrust, Swing, LeveledSwing, }
Options holds all possible values.
Functions ¶
This section is empty.
Types ¶
type Option ¶
type Option byte
Option holds the type of strength dice to add to damage.
const LastOption Option = LeveledSwing
LastOption is the last valid value.
func ExtractOption ¶
ExtractOption extracts the value from a string.
func (Option) EnsureValid ¶
EnsureValid ensures this is of a known value.
func (Option) MarshalText ¶
MarshalText implements the encoding.TextMarshaler interface.
func (*Option) UnmarshalText ¶
UnmarshalText implements the encoding.TextUnmarshaler interface.
Click to show internal directories.
Click to hide internal directories.