- Sort entities by their Euclidean distance to the hero so actions from entities near the hero are processed first - Fewer local variables for cleaner reading - Pass hero into the RegerateRoomsAction, which was causing a pylint error