No method to add layer to grid after initialization #187
Labels
No labels
Alpha Release Requirement
Bugfix
Demo Target
Documentation
Major Feature
Minor Feature
priority:tier1-active
priority:tier2-foundation
priority:tier3-future
priority:tier4-deferred
Refactoring & Cleanup
system:animation
system:documentation
system:grid
system:input
system:performance
system:procgen
system:python-binding
system:rendering
system:ui-hierarchy
Tiny Feature
workflow:blocked
workflow:needs-benchmark
workflow:needs-documentation
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
john/McRogueFace#187
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Grid.layersshould be a tuple, not a list. (I'm not prepared to support a custom Layer collection, and the list return type implies that it's a modifiable collection)TileLayerandColorLayerneed a.gridattribute, which can be assigned to associate the layer to a Grid. Settinglayer.gridto None will remove the layer.layer.grid = gridshould raiseRuntimeErrorif the size of the grid is not exactly the size of the layer.WONTFIX-grid.add_layer(layer)andgrid.remove_layer(layer)exist; thelayer.gridmethod would be very convenient and consistent, but I'm not going to take on the engineering work for such little benefit at this time.