Searched refs:objectYLoc (Results 1 – 1 of 1) sorted by relevance
1134 int Unit::is_in_surrounding(int checkXLoc, int checkYLoc, int width, int objectXLoc, int objectYLoc, in is_in_surrounding() argument1141 checkYLoc>=objectYLoc-width && checkYLoc<=objectYLoc+objectHeight) in is_in_surrounding()1147 checkYLoc>=objectYLoc-width-1 && checkYLoc<=objectYLoc+objectHeight+1) in is_in_surrounding()