public class AgentPosition
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
AgentPosition.Orientation |
Constructor and Description |
---|
AgentPosition(int x,
int y,
AgentPosition.Orientation orientation) |
AgentPosition(Room room,
AgentPosition.Orientation orientation) |
Modifier and Type | Method and Description |
---|---|
boolean |
equals(java.lang.Object obj) |
AgentPosition.Orientation |
getOrientation() |
Room |
getRoom() |
int |
getX() |
int |
getY() |
int |
hashCode() |
java.lang.String |
toString() |
public AgentPosition(int x, int y, AgentPosition.Orientation orientation)
public AgentPosition(Room room, AgentPosition.Orientation orientation)
public Room getRoom()
public int getX()
public int getY()
public AgentPosition.Orientation getOrientation()
public java.lang.String toString()
toString
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object