thesadrogue / TheSadRogue.Primitives

A collection of primitive data structures for working with a 2-dimensional grid.
MIT License
21 stars 6 forks source link

Implement Box Shape Function #109

Closed Chris3606 closed 1 year ago

Chris3606 commented 1 year ago

For completeness, a box shape-drawing function should be implemented. It can be implemented based on Rectangle's PerimeterPositions function.

Ideally, this function would be converted to use a custom enumerator before implementing the shape function, for consistency.