|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface IBasicRobot
A robot interface for creating a basic type of robot like Robot
that is able to receive common robot events, but not interactive events as
with the Robot
class.
A basic robot allows blocking calls only and cannot handle custom events nor
writes to the file system like an advanced robot.
Robot
,
IJuniorRobot
,
IInteractiveRobot
,
IAdvancedRobot
,
ITeamRobot
Method Summary | |
---|---|
IBasicEvents |
getBasicEventListener()
This method is called by the game to notify this robot about basic robot event. |
Runnable |
getRobotRunnable()
This method is called by the game to invoke the run() method of your robot, where the program
of your robot is implemented. |
void |
setOut(PrintStream out)
Do not call this method! |
void |
setPeer(IBasicRobotPeer peer)
Do not call this method! |
Method Detail |
---|
Runnable getRobotRunnable()
run()
method of your robot, where the program
of your robot is implemented.
Runnable.run()
IBasicEvents getBasicEventListener()
IBasicEvents
listener.
null
if this robot should
not receive the notifications.void setPeer(IBasicRobotPeer peer)
peer
- the robot peer supplied by the gamevoid setOut(PrintStream out)
out
- the new output print stream for this robot
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |