PREV CLASS   NEXT CLASS FRAMES    NO FRAMES     SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD
"Procyon" design

Class Beeper

java.lang.Object
  extended byBeeper

public class Beeper
extends java.lang.Object

Beepers appear at random locations in the maze (but never in the same location as the robot). There are always two beepers in the array at any given time. Beepers will remain on the board for a fixed amount of time or until they are collected by the robot.

Constructor Summary
Beeper(Grid position)
          contructs Beeper based on specified position
 
Method Summary
 int getAge()
           
 int getLIFETIME()
           
 Grid getPosition()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Beeper

public Beeper(Grid position)
contructs Beeper based on specified position

Parameters:
position -
Method Detail

getAge

public int getAge()
Returns:

getLIFETIME

public int getLIFETIME()
Returns:

getPosition

public Grid getPosition()
Returns:

 PREV CLASS   NEXT CLASS FRAMES    NO FRAMES     SUMMARY: NESTED | FIELD | CONSTR | METHOD DETAIL: FIELD | CONSTR | METHOD