漏れも、Delphi(・∀・)マンセー

誰かhttp://kakinotane.s7.xrea.com/の
もぐらたたきゲームを作った人はいまつか?
もしいたらもぐら叩きを作ってみよう その3内の
図形の重なりのプログラム。
var
x1, y1, x2, y2: Integer;
begin
if (x1 < x2+10) and (x1+10 > x2) and
(y1 < y2+10) and (y1+10 > y2) then
end;
をどこに書くか教えて( ゚Д゚)ホスィ
よろしく。