Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ProgressInfo ¶
type ProgressInfo struct {
EggsLaid float64
ProjectedEggsLaid float64
Rewards []*Reward
UltimateGoal float64
}
func NewProgressInfo ¶
func NewProgressInfo( rewards []*api.Reward, eggsLaid float64, projectedEggsLaid float64, ) *ProgressInfo
func (*ProgressInfo) PercentageCompleted ¶
func (p *ProgressInfo) PercentageCompleted() float64
func (*ProgressInfo) ProjectedPercentageCompleted ¶
func (p *ProgressInfo) ProjectedPercentageCompleted() float64
Click to show internal directories.
Click to hide internal directories.