karel
Class Corner
java.lang.Object
|
+--karel.Corner
- All Implemented Interfaces:
- java.io.Serializable
- public class Corner
- extends java.lang.Object
- implements java.io.Serializable
- See Also:
- Serialized Form
Constructor Summary |
Corner(int a,
int s)
|
Methods inherited from class java.lang.Object |
clone, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Corner
public Corner(int a,
int s)
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in class java.lang.Object
setBeepers
public void setBeepers(int n)
getBeepers
public int getBeepers()
hasNorthWall
public boolean hasNorthWall()
setNorthWall
public void setNorthWall(boolean wall)
hasEastWall
public boolean hasEastWall()
setEastWall
public void setEastWall(boolean wall)