Documentation ¶
Index ¶
- type Player
- func (p *Player) AddMoney(money uint)
- func (p *Player) AddStructure(s *structure.Structure)
- func (p *Player) Capitol() (bool, *structure.Structure)
- func (p *Player) MaxPopulation() int
- func (p *Player) Money() int
- func (p *Player) MoneyLabel() string
- func (p *Player) Population() int
- func (p *Player) PopulationLabel() string
- func (p *Player) RemoveMoney(money uint)
- func (p *Player) SetPopulation(pop, maxPop, workersNeeded int)
- func (p *Player) Ships() map[uint]*ship.Ship
- func (p *Player) Structures() []*structure.Structure
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Player ¶
type Player struct {
// contains filtered or unexported fields
}
func (*Player) AddStructure ¶
func (*Player) MaxPopulation ¶
func (*Player) MoneyLabel ¶
func (*Player) Population ¶
func (*Player) PopulationLabel ¶
func (*Player) RemoveMoney ¶
func (*Player) SetPopulation ¶
func (*Player) Structures ¶
Click to show internal directories.
Click to hide internal directories.