Documentation
¶
Index ¶
- type Bias
- func (bs Bias) AbsSum() float64
- func (bs Bias) Add(other Bias) Bias
- func (bs Bias) F42String() string
- func (bs Bias) FactionColor() htmlcolors.Color24
- func (bs Bias) FormatString(format string) string
- func (bs Bias) Idiv(other float64) Bias
- func (bs Bias) IntString() string
- func (bs Bias) MakeAbsSumTo(l float64) Bias
- func (bs Bias) NearFaction() factiontype.FactionType
- func (bs Bias) Neg() Bias
- func (bs Bias) RotateLeft() Bias
- func (bs Bias) RotateRight() Bias
- func (bs Bias) SelectSkill(i int) float64
- func (bs Bias) String() string
- func (bs Bias) Sub(other Bias) Bias
- func (bs Bias) ToColor24() htmlcolors.Color24
- func (bs Bias) ToHTMLColorString() string
- func (bs Bias) ToRGB() (uint8, uint8, uint8)
- func (bs Bias) ToRGBList() [3]uint8
- func (bs Bias) ToRGBString() string
- func (bs Bias) Unsigned(other Bias) Bias
- type BiasList
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Bias ¶
type Bias [3]float64
func NewByFaction ¶
func NewByFaction(ft factiontype.FactionType, l float64) Bias
func (Bias) FactionColor ¶
func (bs Bias) FactionColor() htmlcolors.Color24
func (Bias) FormatString ¶
func (Bias) MakeAbsSumTo ¶
func (Bias) NearFaction ¶
func (bs Bias) NearFaction() factiontype.FactionType
func (Bias) RotateLeft ¶
func (Bias) RotateRight ¶
func (Bias) SelectSkill ¶
func (Bias) ToColor24 ¶
func (bs Bias) ToColor24() htmlcolors.Color24
func (Bias) ToHTMLColorString ¶
func (Bias) ToRGBString ¶
Click to show internal directories.
Click to hide internal directories.