points

package
v0.0.0-...-15a57b5 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jun 12, 2023 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Fetch

func Fetch(id int, ctx context.ProgramContext) (layer layer.Layer)

Types

type Model

type Model struct {
	// contains filtered or unexported fields
}

func NewModel

func NewModel(id int, ctx *context.ProgramContext) Model

func (*Model) Model

func (m *Model) Model() *layer.Model

func (*Model) Prestige

func (m *Model) Prestige()

func (*Model) PrestigeAmount

func (m *Model) PrestigeAmount() float64

func (*Model) PrestigeRequirement

func (m *Model) PrestigeRequirement() float64

func (*Model) Reset

func (m *Model) Reset()

func (*Model) Tick

func (m *Model) Tick()

func (*Model) TickAmount

func (m *Model) TickAmount() float64

func (*Model) Unlocked

func (m *Model) Unlocked() bool

func (Model) Update

func (m Model) Update(msg tea.Msg) (layer.Layer, tea.Cmd)

func (*Model) UpdateProgramContext

func (m *Model) UpdateProgramContext(ctx *context.ProgramContext)

func (*Model) View

func (m *Model) View() string

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL