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

Method Remove

grid.go:279–286  ·  view source on GitHub ↗
(card *Card)

Source from the content-addressed store, hash-verified

277}
278
279func (grid *Grid) Remove(card *Card) {
280
281 // Remove the extents from the previous position if it were specified
282 if card.GridExtents.Valid() {
283 card.GridExtents.Remove(card)
284 }
285
286}
287
288// CardRectToGrid converts the card's rectangle to two absolute grid points representing the card's extents in absolute grid spaces.
289// func (grid *Grid) CardRectToGrid(rect *sdl.FRect) []Point {

Callers 14

PutMethod · 0.95
DrawMethod · 0.45
RemoveMethod · 0.45
UpdateMethod · 0.45
ReceiveMessageMethod · 0.45
AutoBackupMethod · 0.45
SaveMethod · 0.45
OpenProjectFromFunction · 0.45
NewTimerContentsFunction · 0.45
NewLinkContentsFunction · 0.45
DestroyMethod · 0.45
mainFunction · 0.45

Calls 1

ValidMethod · 0.45

Tested by

no test coverage detected