climate

package
v0.0.0-...-a30bc99 Latest Latest
Warning

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

Go to latest
Published: Apr 21, 2023 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 Climate

type Climate struct {
	CloudCover             int    `json:"cloud_cover"`             // 0-99
	WindStrength           int    `json:"wind_strength"`           // 0-99
	WindDirection          int    `json:"wind_direction"`          // 0-7
	PrecipitationAmount    int    `json:"precipitation_amount"`    // 0-99
	PrecipitationFrequency int    `json:"precipitation_frequency"` // 0-99
	PrecipitationType      string `json:"precipitation_type"`      // 0-99
}

Climate is a geographic climate

func Generate

func Generate(r region.Region) Climate

Generate procedurally generates a geographic climate based on a region.

func (Climate) DescribeClouds

func (c Climate) DescribeClouds() string

DescribeClouds gives a textual description for the clouds

Jump to

Keyboard shortcuts

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