public class Room
extends java.lang.Object
| Constructor and Description |
|---|
Room(int x,
int y)
Constructor.
|
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(java.lang.Object o) |
int |
getX() |
int |
getY() |
int |
hashCode() |
java.lang.String |
toString() |
public Room(int x,
int y)
x - the room's x location.y - the room's y location.public int getX()
public int getY()
public java.lang.String toString()
toString in class java.lang.Objectpublic boolean equals(java.lang.Object o)
equals in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Object