mabicro 1.2.3 → 1.2.4
Sign up to get free protection for your applications and to get access to all the features.
- data/lib/mabicro.rb +5 -1
- metadata +1 -1
data/lib/mabicro.rb
CHANGED
@@ -19,7 +19,11 @@ LEFT = 1
|
|
19
19
|
RIGHT = 2
|
20
20
|
|
21
21
|
def imageSearch(x1,y1, x2,y2, image, acc=0)
|
22
|
-
$imageSearch.call(x1,y1, x2,y2, image, acc)
|
22
|
+
if $imageSearch.call(x1,y1, x2,y2, image, acc) == 1
|
23
|
+
return true
|
24
|
+
else
|
25
|
+
return false
|
26
|
+
end
|
23
27
|
end
|
24
28
|
def searchedX
|
25
29
|
$getSearchedX.call
|