(card *Card)
| 277 | } |
| 278 | |
| 279 | func (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 { |
no test coverage detected