RectContainsItem
- Parameters
-
whichItem item
r rect
- comment
- patch
-
1.07
- Source
- Blizzard.j (suggest an edit or discuss on Github)
- return type
-
boolean
- Source code
-
function RectContainsItem takes item whichItem, rect r returns boolean if (whichItem == null) then return false endif if (IsItemOwned(whichItem)) then return false endif return RectContainsCoords(r, GetItemX(whichItem), GetItemY(whichItem)) endfunction