|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object Square alice.kareltherobot.Wall
public class Wall
Wall objects in the robot world. If you click on a wall, the camera will move to a point above that wall (3 meters up). This isn't very useful unless the camera is following a robot as it will only then re-orient toward that robot.
Create and place walls with methods of the KarelWorld.
Method Summary | |
---|---|
int |
avenue()
The avenue closest to this wall on the west |
KarelWorld |
getWorld()
Get the world to which this object has been added (but only after you add it). |
boolean |
isBoundary()
Determine if this segment is part of the boundary wall. |
int |
street()
The street closest to this wall on the south |
Methods inherited from class java.lang.Object |
---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Method Detail |
---|
public boolean isBoundary()
public KarelWorld getWorld()
public int street()
public int avenue()
|
||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |