tree

package
v0.0.0-...-091a6ad Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2022 License: MIT Imports: 0 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Forest

type Forest struct {
	// contains filtered or unexported fields
}

func NewForest

func NewForest() *Forest

func (*Forest) Draw

func (f *Forest) Draw()

func (*Forest) PlantTree

func (f *Forest) PlantTree(x, y int, name, color string, texture []byte)

type Tree

type Tree struct {
	// contains filtered or unexported fields
}

func NewTree

func NewTree(x, y int, name, color string, texture []byte) *Tree

func (*Tree) Draw

func (t *Tree) Draw()

Jump to

Keyboard shortcuts

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