Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var Options = []Option{ None, Thrust, LiftingThrust, TelekineticThrust, Swing, LiftingSwing, TelekineticSwing, OldLeveledThrust, OldLeveledSwing, }
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 ( None Option = iota Thrust LiftingThrust TelekineticThrust Swing LiftingSwing TelekineticSwing OldLeveledThrust OldLeveledSwing )
Possible values.
const LastOption Option = OldLeveledSwing
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.