Documentation ¶
Index ¶
- type Level
- func (lvl *Level) AllowedResources() []int
- func (lvl *Level) AllowedStructures() []int
- func (lvl *Level) Label() string
- func (lvl *Level) Message() string
- func (lvl *Level) NextLevel() *Level
- func (lvl *Level) Planets() []*planet.Planet
- func (lvl *Level) ProgressBarValue() uint8
- func (lvl *Level) StartingMoney() uint
- func (lvl *Level) Title() string
- func (lvl *Level) Update(p *player.Player) bool
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 StartingLevel ¶
func StartingLevel() *Level
func (*Level) AllowedResources ¶
func (*Level) AllowedStructures ¶
func (*Level) ProgressBarValue ¶
func (*Level) StartingMoney ¶
Click to show internal directories.
Click to hide internal directories.