MCPcopy Create free account
hub / github.com/SolarLune/masterplan / Position

Method Position

card.go:1060–1062  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1058}
1059
1060func (card *Card) Position() Vector {
1061 return Vector{card.Rect.X, card.Rect.Y}
1062}
1063
1064// Link creates a link between the current Card and the other, provided Card, and returns it, along with a boolean indicating if the link was just created.
1065// If a link is already formed between the Cards, it will return that LinkEnding, along with false as the second boolean.

Callers 15

UpdateMethod · 0.45
PostDrawMethod · 0.45
DrawMethod · 0.45
MouseActionsMethod · 0.45
ClickedInRectFunction · 0.45
ClickedOutRectFunction · 0.45
DrawMethod · 0.45
UpdateMethod · 0.45
DrawMethod · 0.45
UpdateMethod · 0.45
DrawMethod · 0.45
UpdateMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected