factiontype

package
v0.0.0-...-d7572e3 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Mar 14, 2022 License: Apache-2.0 Imports: 3 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Black           FactionType = iota //
	Maroon                             //
	Red                                //
	Green                              //
	Olive                              //
	DarkOrange                         //
	Lime                               //
	Chartreuse                         //
	Yellow                             //
	Navy                               //
	Purple                             //
	DeepPink                           //
	Teal                               //
	Salmon                             //
	SpringGreen                        //
	LightGreen                         //
	Khaki                              //
	Blue                               //
	DarkViolet                         //
	Magenta                            //
	DodgerBlue                         //
	MediumSlateBlue                    //
	Violet                             //
	Cyan                               //
	Aquamarine                         //
	White                              //

	FactionType_Count int = iota
)

Variables

Functions

This section is empty.

Types

type FactionType

type FactionType uint8

func String2FactionType

func String2FactionType(s string) (FactionType, bool)

func (FactionType) Color24

func (ft FactionType) Color24() htmlcolors.Color24

func (FactionType) CommentString

func (e FactionType) CommentString() string

func (FactionType) FactorBase

func (ft FactionType) FactorBase() [3]float64

func (FactionType) Rune

func (ft FactionType) Rune() string

func (FactionType) String

func (e FactionType) String() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL