Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ( Up = baseDirections[0] Left = baseDirections[1] Down = baseDirections[2] Right = baseDirections[3] )
Functions ¶
This section is empty.
Types ¶
type BaseDirection ¶
func ParseBaseDirection ¶
func ParseBaseDirection(str string) (BaseDirection, bool)
type CellWithLocation ¶
type Color ¶
type Color string
var ( ClearColor Color = "#FFFFFF" BlockColor Color = "#000000" RandomColors = []Color{"#4183D7", "#446CB3", "#59ABE3", "#1F3A93", "#D64541", "#CF000F", "#EF4836", "#DB0A5B", "#D2527F", "#9A12B3", "#8E44AD", "#1BBC9B", "#26A65B", "#03C9A9", "#019875", "#1E824C", "#F7CA18", "#F89406", "#E87E04", "#F9690E", "#F9BF3B"} )
func GenerateColor ¶
func GenerateColor() Color
Click to show internal directories.
Click to hide internal directories.