Module yareio::star [−][src]
Expand description
Stars are sources of energy.
Functions
The tick at which a star begins to generate energy.
Get the number of stars in the game.
Get the current energy of the star.
Get the energy capacity of the star.
Each tick a star generates 2 + 2% of its current energy, rounded to the nearest integer.
Get the position of the star.