plant

package
v0.0.0-...-32fafd3 Latest Latest
Warning

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

Go to latest
Published: Jun 26, 2019 License: MIT Imports: 6 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Plant

type Plant struct {
	Species, Axiom, Entry, Discriminator string
	GrowthConfigX, GrowthConfigY         []string
	RenderConfigX, RenderConfigY         []string
	// PhaseConfigX,  PhaseConfigY  []string
	Gens []string
}

func (Plant) GetGrowthLevel

func (p Plant) GetGrowthLevel() int

func (Plant) GetSaveDir

func (p Plant) GetSaveDir() string

func (*Plant) Grow

func (p *Plant) Grow(epochs int)

func (*Plant) LoadGens

func (p *Plant) LoadGens()

func (Plant) Render

func (p Plant) Render() string

func (Plant) SaveGens

func (p Plant) SaveGens()

func (*Plant) SetDiscriminator

func (p *Plant) SetDiscriminator(disc string)

func (*Plant) Trim

func (p *Plant) Trim(layers int)

Jump to

Keyboard shortcuts

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