material

package
v0.0.0-...-0bb4724 Latest Latest
Warning

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

Go to latest
Published: Mar 22, 2024 License: MPL-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Types []Type

Functions

This section is empty.

Types

type Type

type Type byte
const (
	Ashlar Type = iota
	Brick
	Concrete
	HardEarth
	Rubble
	Thatch
	Wood
)

func (Type) CostPerInch

func (t Type) CostPerInch(totalThickness fxp.Length) fxp.Int

func (Type) DRPerInch

func (t Type) DRPerInch() fxp.Int

func (Type) EnsureValid

func (t Type) EnsureValid() Type

func (Type) Key

func (t Type) Key() string

func (Type) MarshalText

func (t Type) MarshalText() ([]byte, error)

func (Type) String

func (t Type) String() string

func (*Type) UnmarshalText

func (t *Type) UnmarshalText(text []byte) error

func (Type) WeightPerInch

func (t Type) WeightPerInch() fxp.Int

Jump to

Keyboard shortcuts

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