|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.scottpreston.javarobot.chapter7.Edge
com.scottpreston.javarobot.chapter7.MotionVector
public class MotionVector
| Field Summary | |
|---|---|
int |
heading
|
double |
magintude
|
| Fields inherited from class com.scottpreston.javarobot.chapter7.Edge |
|---|
name, v1, v2, weight |
| Constructor Summary | |
|---|---|
MotionVector(int h,
double seconds)
|
|
MotionVector(java.lang.String h,
java.lang.String seconds)
|
|
| Method Summary | |
|---|---|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Field Detail |
|---|
public int heading
public double magintude
| Constructor Detail |
|---|
public MotionVector(int h,
double seconds)
public MotionVector(java.lang.String h,
java.lang.String seconds)
throws java.lang.Exception
java.lang.Exception| Method Detail |
|---|
public java.lang.String toString()
toString in class Edge
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||