Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AttackTacticToString ¶
Types ¶
type Tactic ¶
type Tactic int
func AttackTacticFromString ¶
func (Tactic) MarshalYAML ¶ added in v2.4.9
MarshalYAML implements the Marshaler interface from "gopkg.in/yaml.v3". This method makes Tactic type to return a string rather than an int when marshalling to YAML.
func (Tactic) UnmarshalYAML ¶ added in v2.4.9
UnmarshalYAML implements the Marshaler interface from "gopkg.in/yaml.v3". This method moes the reverse of MarshalYAML, it gets a string with the tactic name mutates into an int.
Click to show internal directories.
Click to hide internal directories.