|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object aigames.soccer.field.FieldPoint
Field Summary | |
static int |
BLANK_EDGE
The edge is blank edge |
static int |
FIELD_EDGE
The edge is field edge |
static int |
NO_EDGE
There is no edge |
Constructor Summary | |
FieldPoint()
Default constructor which creates point without edges. |
|
FieldPoint(int[] edges)
Constructor which creates point with given edges. |
Method Summary | |
int |
getEdgeColor(int edgeNumber)
Returns edge color for a given edge. |
void |
setEdgeColor(java.lang.Integer edgeNumber,
int color)
Sets color of na edge. |
void |
setEdgeColor(int edgeNumber,
int color)
Sets color of na edge. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int NO_EDGE
public static final int FIELD_EDGE
public static final int BLANK_EDGE
Constructor Detail |
public FieldPoint(int[] edges)
edges
- The edges to set.public FieldPoint()
Method Detail |
public void setEdgeColor(java.lang.Integer edgeNumber, int color)
edgeNumber
- Edge to set color.color
- Color to set.public void setEdgeColor(int edgeNumber, int color)
edgeNumber
- Edge to set color.color
- Color to set.public int getEdgeColor(int edgeNumber)
edgeNumber
- Number of edge to check.
|
|||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |