Grid attributes: Vectors instead of Tuples #179

Closed
opened 2026-01-05 02:05:21 +00:00 by john · 0 comments
Owner
>>> g = Grid((45, 36))
>>> g.pos
<Vector (45, 36)>
>>> g.size
(32.0, 32.0)
>>> g.grid_size
(2, 2)

Why the tuples? grid_size I could forgive grid_size (immutable), But size is NOT negotiable: we need to provide vectors for all mutable size and position values for all mcrfpy objects.

``` >>> g = Grid((45, 36)) >>> g.pos <Vector (45, 36)> >>> g.size (32.0, 32.0) >>> g.grid_size (2, 2) ``` Why the tuples? `grid_size` I could forgive `grid_size` (immutable), But `size` is NOT negotiable: we need to provide vectors for all mutable size and position values for all mcrfpy objects.
john changed title from Vectors instead of Tuples to Grid attributes: Vectors instead of Tuples 2026-01-05 18:15:10 +00:00
john closed this issue 2026-01-06 09:41:55 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
john/McRogueFace#179
No description provided.