public class BoardSpace extends Object implements Serializable
| Constructor and Description |
|---|
BoardSpace(int x,
int y,
int[] identifiers)
Creates an instance of
BoardSpace. |
| Modifier and Type | Method and Description |
|---|---|
int[] |
getIdentifiers()
Returns the stack of identifiers at this space.
|
int |
getX()
Returns the x-coordinate for this space.
|
int |
getY()
Returns the y-coordinate for this space.
|
String |
toString() |
public BoardSpace(int x,
int y,
int[] identifiers)
BoardSpace.x - the x-coordinatey - the y-coordinateidentifiers - the identifier stackpublic int getX()
public int getY()
public int[] getIdentifiers()
Copyright © 2013. All Rights Reserved.