edu.columbia.cs.coms4701.agent.environments.robot
Interface RobotRoomRectanglePercept

All Superinterfaces:
AgentPercept, RobotPercept
All Known Implementing Classes:
RoombaRoomRectanglePercept

public interface RobotRoomRectanglePercept
extends RobotPercept

A percept that your robot may receive, indicating the size and position of the room in a 2-d plane.

You may assume, upon receiving this percept, that the room is a rectangle.

The lower-left corner (ordinarily (0,0)), and size (as width and height) of the room's rectangle are available from this percept.

Version:
0.1

User: aaron Date: Aug 25, 2006 Time: 2:00:35 PM

Author:
aaron@cs

Method Summary
 DiscreteRectangle getRoomRectangle()
          Returns the position and size of the room the robot finds itself in.
 

Method Detail

getRoomRectangle

DiscreteRectangle getRoomRectangle()
Returns the position and size of the room the robot finds itself in.

Returns:
rectangle of the room.