| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.ObjectsysModel.env.ASquareEnv.Location
sysModel.env.WrappingEnv.Location
public class WrappingEnv.Location
Overridden location class that does wrapping.
| Constructor Summary | |
|---|---|
| WrappingEnv.Location(double x,
                                         double y)Ctor for location. | |
| Method Summary | |
|---|---|
|  ASquareEnv.Location | getNeighbor(ASquareEnv.Direction dir)Return the location of a neighbor in the given direction. | 
| Methods inherited from class sysModel.env.ASquareEnv.Location | 
|---|
| getX, getY, inField, parse, same, setX, setY, toString | 
| Methods inherited from class java.lang.Object | 
|---|
| clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait | 
| Constructor Detail | 
|---|
public WrappingEnv.Location(double x,
                            double y)
x - x positiony - y position| Method Detail | 
|---|
public ASquareEnv.Location getNeighbor(ASquareEnv.Direction dir)
getNeighbor in class ASquareEnv.Locationdir - the direction of the neighbor to be returned
| 
 | |||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||