coral

package
v0.0.4 Latest Latest
Warning

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

Go to latest
Published: Jan 4, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Coral

type Coral struct {
	Colour colour.Colour
	// contains filtered or unexported fields
}

Coral represents a type of coral of a block. Coral, coral fans, and coral blocks carry one of these types.

func Brain

func Brain() Coral

Brain returns the brain coral variant

func Bubble

func Bubble() Coral

Bubble returns the bubble coral variant

func Fire

func Fire() Coral

Fire returns the fire coral variant

func Horn

func Horn() Coral

Horn returns the horn coral variant

func Tube

func Tube() Coral

Tube returns the tube coral variant

func (Coral) FromString

func (c Coral) FromString(s string) (interface{}, error)

FromString ...

func (Coral) Name

func (c Coral) Name() string

Name ...

func (Coral) String

func (c Coral) String() string

String ...

func (Coral) Uint8

func (c Coral) Uint8() uint8

Uint8 returns the coral as a uint8.

Jump to

Keyboard shortcuts

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