Documentation
¶
Index ¶
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 the initiative tracker state
func (*Manager) GetTracker ¶
GetTracker returns the current tracker (may be nil)
type Participant ¶
Participant represents a participant in initiative
type Tracker ¶
type Tracker struct {
Participants []*Participant
CurrentTurn int // index into Participants
Round int
}
Tracker manages initiative order and turn tracking
func (*Tracker) ActiveCount ¶
ActiveCount returns the number of active participants
func (*Tracker) GetCurrent ¶
func (t *Tracker) GetCurrent() *Participant
GetCurrent returns the current participant
func (*Tracker) HasParticipants ¶
HasParticipants returns true if there are any participants
Click to show internal directories.
Click to hide internal directories.