rustyscreeps/screeps-game-api

Implement wrapper structs for row or column major ordered sorting and remove `Ord`/`PartialOrd` direct implementations on `Position`, `RoomXY`, `RoomName`

shanemadden opened this issue · 0 comments

See discussion in #521 and #226 - instead of having a presumed sort ordering priority for these types (which notably conflicts with the indexing on RoomTerrain/LocalRoomTerrain) we should remove the direct impls on these types and instead have wrappers which implementing the ordering traits.