Documentation
¶
Index ¶
- type Manager
- func (m *Manager) Add(name string, current, max int) *Tracker
- func (m *Manager) Count() int
- func (m *Manager) Delete(name string) error
- func (m *Manager) DeleteAll()
- func (m *Manager) Get(name string) *Tracker
- func (m *Manager) GetPinned() []*Tracker
- func (m *Manager) List() []*Tracker
- func (m *Manager) PinAll() int
- func (m *Manager) PinnedCount() int
- func (m *Manager) Search(pattern string) []*Tracker
- type Tracker
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Manager ¶
type Manager struct {
// contains filtered or unexported fields
}
Manager manages multiple number trackers
func (*Manager) PinnedCount ¶
PinnedCount returns the number of pinned trackers
type Tracker ¶
Tracker represents a number tracker (e.g., HP, AC, etc.)
func NewTracker ¶
NewTracker creates a new number tracker
Click to show internal directories.
Click to hide internal directories.