RoomXY should have equivalent functionality to Position for in-room stuff that we can do fully within native math. All of the functions from the game_math module would make sense on the RoomXY type.
Potentially as an enhancement, both types could use a manhattan range function in addition to the current chebyshev range function. Maybe we should even go as far as providing a euclidean range function?
RoomXY
should have equivalent functionality toPosition
for in-room stuff that we can do fully within native math. All of the functions from thegame_math
module would make sense on theRoomXY
type.Potentially as an enhancement, both types could use a manhattan range function in addition to the current chebyshev range function. Maybe we should even go as far as providing a euclidean range function?