up3
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
Build and deploy / Build (push) Has been cancelled
Build and deploy / Update Contributors (push) Has been cancelled
Build and deploy / Deploy (push) Has been cancelled
This commit is contained in:
@@ -0,0 +1,46 @@
|
||||
package biome
|
||||
|
||||
import "image/color"
|
||||
|
||||
// Ocean ...
|
||||
type Ocean struct{}
|
||||
|
||||
// Temperature ...
|
||||
func (Ocean) Temperature() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Rainfall ...
|
||||
func (Ocean) Rainfall() float64 {
|
||||
return 0.5
|
||||
}
|
||||
|
||||
// Depth ...
|
||||
func (Ocean) Depth() float64 {
|
||||
return -1
|
||||
}
|
||||
|
||||
// Scale ...
|
||||
func (Ocean) Scale() float64 {
|
||||
return 0.1
|
||||
}
|
||||
|
||||
// WaterColour ...
|
||||
func (Ocean) WaterColour() color.RGBA {
|
||||
return color.RGBA{R: 0x17, G: 0x87, B: 0xd4, A: 0xa5}
|
||||
}
|
||||
|
||||
// Tags ...
|
||||
func (Ocean) Tags() []string {
|
||||
return []string{"monster", "ocean", "overworld", "fast_fishing", "high_seas"}
|
||||
}
|
||||
|
||||
// String ...
|
||||
func (Ocean) String() string {
|
||||
return "ocean"
|
||||
}
|
||||
|
||||
// EncodeBiome ...
|
||||
func (Ocean) EncodeBiome() int {
|
||||
return 0
|
||||
}
|
||||
Reference in New Issue
Block a user