MCPcopy Create free account
hub / github.com/B33pBeeps/redthread / PullState

Struct PullState

internal/app/wire.go:10–19  ·  view source on GitHub ↗

--- PullState --------------------------------------------------------

Source from the content-addressed store, hash-verified

8// --- PullState --------------------------------------------------------
9
10type PullState struct {
11 Active bool
12 FromID string // note ID the string starts at
13
14 TargetX int
15 TargetY int
16
17 VX float32
18 VY float32
19}
20
21func (p *PullState) Start(fromID string, fromX, fromY int) {
22 p.Active = true

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected