--- PullState --------------------------------------------------------
| 8 | // --- PullState -------------------------------------------------------- |
| 9 | |
| 10 | type 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 | |
| 21 | func (p *PullState) Start(fromID string, fromX, fromY int) { |
| 22 | p.Active = true |
nothing calls this directly
no outgoing calls
no test coverage detected