摘要 |
PROBLEM TO BE SOLVED: To reduce inconvenience caused by making effective all detection means for detecting presence of an object at a front of a game machine body.SOLUTION: A lamp control CPU substitutes 1 for K (step 3201), determines whether or not a sensor Sk is the sensor to be made effective until K is determined to be larger than N in a step 3207 while increasing K by 1 in a step 3206 (step 3202), and performs processing of making the sensor Sk emit light and receiving and holding detection signals output from the sensor Sk when it is the sensor to be made effective (steps 3203-3205). When K is determined to be larger than N, coordinates of an area where an object is present are determined on the basis of the detection signal held by each K (step 3208), and a coordinate signal indicating the determined coordinates of the area is stored (step 3209). |