integer[]
GetAllGridIndexes(boolean? onlyInRoom)
boolean?
GetGridIndexesBetween(integer gridIndex1, integer gridIndex2, RoomShapearrow-up-right roomShape)
integer
RoomShape
integer[] GetAllGridIndexes(boolean? onlyInRoom)
Helper function to get every legal grid index for the current room. If onlyInRoom is set to true it will only return those that are actually in the room, accounting for L shaped and small rooms.
onlyInRoom
integer[] GetGridIndexesBetween(integer gridIndex1, integer gridIndex2, RoomShapearrow-up-right roomShape)
integer[] GetGridIndexesBetween(integer gridIndex1, integer gridIndex2,
roomShape)
Helper function to get all the grid indexes between two others. Note that the two grid indexes need to be in the same column or row.
Last updated 3 years ago