Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type Population ¶
type Population struct {
// contains filtered or unexported fields
}
Population represent a population of laternfish
func NewPopulation ¶
func NewPopulation(spawnTime uint64, maturationTime uint64) *Population
func (*Population) Tick ¶
func (p *Population) Tick()
Click to show internal directories.
Click to hide internal directories.