|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.threerings.media.util.PathNode
public class PathNode
A path node is a single destination point in a Path.
| Field Summary | |
|---|---|
int |
dir
The direction to face while heading toward the node. |
Point |
loc
The node coordinates in screen pixels. |
| Constructor Summary | |
|---|---|
PathNode(int x,
int y,
int dir)
Construct a path node object. |
|
| Method Summary | |
|---|---|
String |
toString()
|
void |
toString(StringBuilder buf)
This should be overridden by derived classes (which should be sure to call super.toString()) to append the derived class specific path node information
to the string buffer. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public Point loc
public int dir
| Constructor Detail |
|---|
public PathNode(int x,
int y,
int dir)
x - the node x-position.y - the node y-position.dir - the facing direction.| Method Detail |
|---|
public String toString()
toString in class Objectpublic void toString(StringBuilder buf)
super.toString()) to append the derived class specific path node information
to the string buffer.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||