level

package
v0.0.0-...-40e17fa Latest Latest
Warning

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

Go to latest
Published: Nov 20, 2023 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Level

type Level struct {
	W, H int
	// contains filtered or unexported fields
}

func New

func New(lvl *Level) *Level

func StartingLevel

func StartingLevel() *Level

func (*Level) AllowedResources

func (lvl *Level) AllowedResources() []int

func (*Level) AllowedStructures

func (lvl *Level) AllowedStructures() []int

func (*Level) Label

func (lvl *Level) Label() string

func (*Level) Message

func (lvl *Level) Message() string

func (*Level) NextLevel

func (lvl *Level) NextLevel() *Level

func (*Level) Planets

func (lvl *Level) Planets() []*planet.Planet

func (*Level) ProgressBarValue

func (lvl *Level) ProgressBarValue() uint8

func (*Level) StartingMoney

func (lvl *Level) StartingMoney() uint

func (*Level) Title

func (lvl *Level) Title() string

func (*Level) Update

func (lvl *Level) Update(p *player.Player) bool

Jump to

Keyboard shortcuts

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