|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.jpemartin.jgt.MoveStraight
public class MoveStraight
A MoveControl that moves in a straight line
| Constructor Summary | |
|---|---|
MoveStraight(int dx,
int dy)
the two arguments are the horizontal and vertical distance traveled each step. |
|
| Method Summary | |
|---|---|
void |
move(java.awt.Rectangle me)
move "moved" by one step |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public MoveStraight(int dx,
int dy)
| Method Detail |
|---|
public void move(java.awt.Rectangle me)
MoveControl
move in interface MoveControl
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||