| Modifier and Type | Field and Description |
|---|---|
int |
dir
The segment's direction; one of
DirectionCodes.HORIZONTAL
or DirectionCodes.VERTICAL. |
int |
len
The segment's length in pieces.
|
int |
x
The segment's lower-left board coordinates.
|
int |
y
The segment's lower-left board coordinates.
|
| Constructor and Description |
|---|
SegmentInfo(int dir,
int x,
int y,
int len)
Constructs a segment info object.
|
public int dir
DirectionCodes.HORIZONTAL
or DirectionCodes.VERTICAL.public int x
public int y
public int len
Copyright © 2015. All rights reserved.